[tip: timers/vdso] powerpc/vdso: Explicitly include asm/cputable.h and asm/feature-fixups.h
From: tip-bot2 for Thomas Weißschuh
Date: Wed Mar 11 2026 - 10:58:31 EST
The following commit has been merged into the timers/vdso branch of tip:
Commit-ID: 9c89d8bd64b8c03ad3d5b6fd52550b8773a12669
Gitweb: https://git.kernel.org/tip/9c89d8bd64b8c03ad3d5b6fd52550b8773a12669
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:31 +01:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Wed, 11 Mar 2026 15:12:36 +01:00
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@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Reviewed-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-5-35d60acf7410@xxxxxxxxxxxxx
---
arch/powerpc/include/asm/vdso/processor.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/include/asm/vdso/processor.h b/arch/powerpc/include/asm/vdso/processor.h
index c1f3d7a..4c6802c 100644
--- a/arch/powerpc/include/asm/vdso/processor.h
+++ b/arch/powerpc/include/asm/vdso/processor.h
@@ -4,6 +4,9 @@
#ifndef __ASSEMBLER__
+#include <asm/cputable.h>
+#include <asm/feature-fixups.h>
+
/* Macros for adjusting thread priority (hardware multi-threading) */
#ifdef CONFIG_PPC64
#define HMT_very_low() asm volatile("or 31, 31, 31 # very low priority")