Skip to contentSkip to conversation

alpha: Select HAVE_ARCH_COMPILER_H

PATCH New Matt Turner 1 participant 1 message Apr 3 Alpha port

lore
Share & tools
lore

Matt Turner

author maintainer
#0 lore raw

PATCH 1/1 alpha: Select HAVE_ARCH_COMPILER_H

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
---
 arch/alpha/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/alpha/Kconfig +1 -0
index 57c91ed67b71..d870529fa251 100644
@@ -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
Signature · 1 line
2.52.0