Skip to content

Commit 1703db2

Browse files
committed
x86/fpu: Mark init functions __init
No point in keeping them around. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230613224545.841685728@linutronix.de
1 parent 1f34bb2 commit 1703db2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/kernel/fpu/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void fpu__init_cpu(void)
5353
fpu__init_cpu_xstate();
5454
}
5555

56-
static bool fpu__probe_without_cpuid(void)
56+
static bool __init fpu__probe_without_cpuid(void)
5757
{
5858
unsigned long cr0;
5959
u16 fsw, fcw;
@@ -71,7 +71,7 @@ static bool fpu__probe_without_cpuid(void)
7171
return fsw == 0 && (fcw & 0x103f) == 0x003f;
7272
}
7373

74-
static void fpu__init_system_early_generic(void)
74+
static void __init fpu__init_system_early_generic(void)
7575
{
7676
if (!boot_cpu_has(X86_FEATURE_CPUID) &&
7777
!test_bit(X86_FEATURE_FPU, (unsigned long *)cpu_caps_cleared)) {

0 commit comments

Comments
 (0)