[PATCH 10/24] alpha: select HAVE_ARCH_COMPILER_H

From: Matt Turner

Date: Tue Sep 01 2026 - 12:20:04 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 00365031ea6e..6ccd03768083 100644
--- ./arch/alpha/Kconfig
+++ ./arch/alpha/Kconfig
@@ -19,6 +19,7 @@ config ALPHA
select FORCE_PCI
select PCI_DOMAINS if PCI
select PCI_SYSCALL if PCI
+ select HAVE_ARCH_COMPILER_H
select HAVE_ASM_MODVERSIONS
select HAVE_DEBUG_KMEMLEAK
select HAVE_PAGE_SIZE_8KB
--
2.54.0