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

x86/fpu: Replace the includes of fpu/internal.h

Now that the file is empty, fixup all references with the proper includes
and delete the former kitchen sink.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211015011540.001197214@linutronix.de

authored by

Thomas Gleixner and committed by
Borislav Petkov
b56d2795 6415bb80

+10 -37
-26
arch/x86/include/asm/fpu/internal.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - /* 3 - * Copyright (C) 1994 Linus Torvalds 4 - * 5 - * Pentium III FXSR, SSE support 6 - * General FPU state handling cleanups 7 - * Gareth Hughes <gareth@valinux.com>, May 2000 8 - * x86-64 work by Andi Kleen 2002 9 - */ 10 - 11 - #ifndef _ASM_X86_FPU_INTERNAL_H 12 - #define _ASM_X86_FPU_INTERNAL_H 13 - 14 - #include <linux/compat.h> 15 - #include <linux/sched.h> 16 - #include <linux/slab.h> 17 - #include <linux/mm.h> 18 - 19 - #include <asm/user.h> 20 - #include <asm/fpu/api.h> 21 - #include <asm/fpu/xstate.h> 22 - #include <asm/fpu/xcr.h> 23 - #include <asm/cpufeature.h> 24 - #include <asm/trace/fpu.h> 25 - 26 - #endif /* _ASM_X86_FPU_INTERNAL_H */
+1 -1
arch/x86/kernel/cpu/bugs.c
··· 22 22 #include <asm/bugs.h> 23 23 #include <asm/processor.h> 24 24 #include <asm/processor-flags.h> 25 - #include <asm/fpu/internal.h> 25 + #include <asm/fpu/api.h> 26 26 #include <asm/msr.h> 27 27 #include <asm/vmx.h> 28 28 #include <asm/paravirt.h>
+1 -1
arch/x86/kernel/cpu/common.c
··· 42 42 #include <asm/setup.h> 43 43 #include <asm/apic.h> 44 44 #include <asm/desc.h> 45 - #include <asm/fpu/internal.h> 45 + #include <asm/fpu/api.h> 46 46 #include <asm/mtrr.h> 47 47 #include <asm/hwcap2.h> 48 48 #include <linux/numa.h>
+1 -1
arch/x86/kernel/fpu/bugs.c
··· 2 2 /* 3 3 * x86 FPU bug checks: 4 4 */ 5 - #include <asm/fpu/internal.h> 5 + #include <asm/fpu/api.h> 6 6 7 7 /* 8 8 * Boot time CPU/FPU FDIV bug detection code:
+1 -1
arch/x86/kernel/fpu/core.c
··· 6 6 * General FPU state handling cleanups 7 7 * Gareth Hughes <gareth@valinux.com>, May 2000 8 8 */ 9 - #include <asm/fpu/internal.h> 9 + #include <asm/fpu/api.h> 10 10 #include <asm/fpu/regset.h> 11 11 #include <asm/fpu/sched.h> 12 12 #include <asm/fpu/signal.h>
+1 -1
arch/x86/kernel/fpu/init.c
··· 2 2 /* 3 3 * x86 FPU boot time init code: 4 4 */ 5 - #include <asm/fpu/internal.h> 5 + #include <asm/fpu/api.h> 6 6 #include <asm/tlbflush.h> 7 7 #include <asm/setup.h> 8 8
+1 -1
arch/x86/kernel/fpu/regset.c
··· 5 5 #include <linux/sched/task_stack.h> 6 6 #include <linux/vmalloc.h> 7 7 8 - #include <asm/fpu/internal.h> 8 + #include <asm/fpu/api.h> 9 9 #include <asm/fpu/signal.h> 10 10 #include <asm/fpu/regset.h> 11 11 #include <asm/fpu/xstate.h>
-1
arch/x86/kernel/fpu/xstate.c
··· 13 13 #include <linux/proc_fs.h> 14 14 15 15 #include <asm/fpu/api.h> 16 - #include <asm/fpu/internal.h> 17 16 #include <asm/fpu/regset.h> 18 17 #include <asm/fpu/signal.h> 19 18 #include <asm/fpu/xcr.h>
+1 -1
arch/x86/kernel/smpboot.c
··· 70 70 #include <asm/mwait.h> 71 71 #include <asm/apic.h> 72 72 #include <asm/io_apic.h> 73 - #include <asm/fpu/internal.h> 73 + #include <asm/fpu/api.h> 74 74 #include <asm/setup.h> 75 75 #include <asm/uv/uv.h> 76 76 #include <linux/mc146818rtc.h>
+1 -1
arch/x86/kernel/traps.c
··· 48 48 #include <asm/ftrace.h> 49 49 #include <asm/traps.h> 50 50 #include <asm/desc.h> 51 - #include <asm/fpu/internal.h> 51 + #include <asm/fpu/api.h> 52 52 #include <asm/cpu.h> 53 53 #include <asm/cpu_entry_area.h> 54 54 #include <asm/mce.h>
+1 -1
arch/x86/kvm/vmx/vmx.c
··· 35 35 #include <asm/cpu_device_id.h> 36 36 #include <asm/debugreg.h> 37 37 #include <asm/desc.h> 38 - #include <asm/fpu/internal.h> 38 + #include <asm/fpu/api.h> 39 39 #include <asm/idtentry.h> 40 40 #include <asm/io.h> 41 41 #include <asm/irq_remapping.h>
+1 -1
arch/x86/power/cpu.c
··· 20 20 #include <asm/page.h> 21 21 #include <asm/mce.h> 22 22 #include <asm/suspend.h> 23 - #include <asm/fpu/internal.h> 23 + #include <asm/fpu/api.h> 24 24 #include <asm/debugreg.h> 25 25 #include <asm/cpu.h> 26 26 #include <asm/mmu_context.h>