[PATCH] alpha: Select HAVE_ARCH_COMPILER_H
From: Matt Turner
Date: Fri Apr 03 2026 - 11:11:12 EST
Alpha already provides asm/compiler.h (wrapping uapi/asm/compiler.h)
which defines architecture-specific compiler intrinsics like
__kernel_cmpbge, __kernel_cttz, __kernel_ctlz, and __kernel_ctpop.
Selecting HAVE_ARCH_COMPILER_H causes linux/compiler_types.h to include
asm/compiler.h, making these definitions available consistently.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Matt Turner <mattst88@xxxxxxxxx>
---
arch/alpha/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git ./arch/alpha/Kconfig ./arch/alpha/Kconfig
index 57c91ed67b71..d870529fa251 100644
--- ./arch/alpha/Kconfig
+++ ./arch/alpha/Kconfig
@@ -17,6 +17,7 @@ config ALPHA
select PCI_DOMAINS if PCI
select PCI_SYSCALL if PCI
select HAVE_ARCH_TRACEHOOK
+ select HAVE_ARCH_COMPILER_H
select HAVE_ASM_MODVERSIONS
select TRACE_IRQFLAGS_SUPPORT
select HAVE_PAGE_SIZE_8KB
--
2.52.0