Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/vdso: Explicitly include asm/cputable.h and asm/feature-fixups.h

The usage of ASM_FTR_IFCLR(CPU_TR_ARCH_31) requires asm/cputable.h and
asm/feature-fixups.h. Currently these headers are included transitively,
but that transitive inclusion is about to go away.

Explicitly include the headers.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-5-35d60acf7410@linutronix.de

authored by

Thomas Weißschuh and committed by
Borislav Petkov (AMD)
9c89d8bd 3852dd5a

+3
+3
arch/powerpc/include/asm/vdso/processor.h
··· 4 4 5 5 #ifndef __ASSEMBLER__ 6 6 7 + #include <asm/cputable.h> 8 + #include <asm/feature-fixups.h> 9 + 7 10 /* Macros for adjusting thread priority (hardware multi-threading) */ 8 11 #ifdef CONFIG_PPC64 9 12 #define HMT_very_low() asm volatile("or 31, 31, 31 # very low priority")