summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/process_32.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-10-15 03:16:20 +0200
committerBorislav Petkov <bp@suse.de>2021-10-20 15:27:27 +0200
commit63e81807c1f94e91b9d71c536112a40cd74bab85 (patch)
tree3c8a467bdd99fcf8d04ceb2bc97bf1e3b18b3954 /arch/x86/kernel/process_32.c
parent9603445549dacd7688532a4076c377e43a3ecfce (diff)
downloadlwn-63e81807c1f94e91b9d71c536112a40cd74bab85.tar.gz
lwn-63e81807c1f94e91b9d71c536112a40cd74bab85.zip
x86/fpu: Move context switch and exit to user inlines into sched.h
internal.h is a kitchen sink which needs to get out of the way to prepare for the upcoming changes. Move the context switch and exit to user inlines into a separate header, which is all that code needs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211015011539.349132461@linutronix.de
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r--arch/x86/kernel/process_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index d008e222a302..26edb1cd07a4 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -41,7 +41,7 @@
#include <asm/ldt.h>
#include <asm/processor.h>
-#include <asm/fpu/internal.h>
+#include <asm/fpu/sched.h>
#include <asm/desc.h>
#include <linux/err.h>