diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-15 03:16:20 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 15:27:27 +0200 |
commit | 63e81807c1f94e91b9d71c536112a40cd74bab85 (patch) | |
tree | 3c8a467bdd99fcf8d04ceb2bc97bf1e3b18b3954 /arch/x86/kernel/process_64.c | |
parent | x86/fpu: Mark fpu__init_prepare_fx_sw_frame() as __init (diff) | |
download | linux-63e81807c1f94e91b9d71c536112a40cd74bab85.tar.xz linux-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_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 39f12ef1c85c..3402edec236c 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -42,7 +42,7 @@ #include <asm/processor.h> #include <asm/pkru.h> -#include <asm/fpu/internal.h> +#include <asm/fpu/sched.h> #include <asm/mmu_context.h> #include <asm/prctl.h> #include <asm/desc.h> |