x86/fpu: Remove cpuinfo argument from init functions

Nothing in the call chain requires it

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230613224545.783704297@linutronix.de

+5 -5
+1 -1
arch/x86/include/asm/fpu/api.h
··· 109 109 110 110 /* Boot, hotplug and resume */ 111 111 extern void fpu__init_cpu(void); 112 - extern void fpu__init_system(struct cpuinfo_x86 *c); 112 + extern void fpu__init_system(void); 113 113 extern void fpu__init_check_bugs(void); 114 114 extern void fpu__resume_cpu(void); 115 115
+1 -1
arch/x86/kernel/cpu/common.c
··· 1604 1604 1605 1605 sld_setup(c); 1606 1606 1607 - fpu__init_system(c); 1607 + fpu__init_system(); 1608 1608 1609 1609 #ifdef CONFIG_X86_32 1610 1610 /*
+3 -3
arch/x86/kernel/fpu/init.c
··· 71 71 return fsw == 0 && (fcw & 0x103f) == 0x003f; 72 72 } 73 73 74 - static void fpu__init_system_early_generic(struct cpuinfo_x86 *c) 74 + static void fpu__init_system_early_generic(void) 75 75 { 76 76 if (!boot_cpu_has(X86_FEATURE_CPUID) && 77 77 !test_bit(X86_FEATURE_FPU, (unsigned long *)cpu_caps_cleared)) { ··· 211 211 * Called on the boot CPU once per system bootup, to set up the initial 212 212 * FPU state that is later cloned into all processes: 213 213 */ 214 - void __init fpu__init_system(struct cpuinfo_x86 *c) 214 + void __init fpu__init_system(void) 215 215 { 216 216 fpstate_reset(&current->thread.fpu); 217 - fpu__init_system_early_generic(c); 217 + fpu__init_system_early_generic(); 218 218 219 219 /* 220 220 * The FPU has to be operational for some of the