aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/fpu/init.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-10-15 03:16:28 +0200
committerBorislav Petkov <bp@suse.de>2021-10-20 15:27:28 +0200
commitcdcb6fa14e1499ff2b2a3f3e0938c7b3b7ef2cd6 (patch)
treed0504be9335ff72a5282708cdc0b0532f3a3d94b /arch/x86/kernel/fpu/init.c
parentx86/fpu: Move legacy ASM wrappers to core (diff)
downloadlinux-dev-cdcb6fa14e1499ff2b2a3f3e0938c7b3b7ef2cd6.tar.xz
linux-dev-cdcb6fa14e1499ff2b2a3f3e0938c7b3b7ef2cd6.zip
x86/fpu: Make WARN_ON_FPU() private
No point in being in global headers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211015011539.628516182@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/init.c')
-rw-r--r--arch/x86/kernel/fpu/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/fpu/init.c b/arch/x86/kernel/fpu/init.c
index 545c91c723b8..24873dfe2dba 100644
--- a/arch/x86/kernel/fpu/init.c
+++ b/arch/x86/kernel/fpu/init.c
@@ -10,6 +10,8 @@
#include <linux/sched/task.h>
#include <linux/init.h>
+#include "internal.h"
+
/*
* Initialize the registers found in all CPUs, CR0 and CR4:
*/