Skip to content

Commit d97ee99

Browse files
Zhenzhong DuanKAGA-KOKO
authored andcommitted
x86/jailhouse: Mark jailhouse_x2apic_available() as __init
.. as it is only called at early bootup stage. Signed-off-by: Zhenzhong Duan <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Jan Kiszka <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent 670b004 commit d97ee99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/jailhouse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ bool jailhouse_paravirt(void)
203203
return jailhouse_cpuid_base() != 0;
204204
}
205205

206-
static bool jailhouse_x2apic_available(void)
206+
static bool __init jailhouse_x2apic_available(void)
207207
{
208208
/*
209209
* The x2APIC is only available if the root cell enabled it. Jailhouse

0 commit comments

Comments
 (0)