.. as they are only called at early bootup stage.

Signed-off-by: Zhenzhong Duan <[email protected]>
Cc: Jan Kiszka <[email protected]>
Cc: [email protected]
---
 arch/x86/kernel/jailhouse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c
index 1b2ee55..d96d563 100644
--- a/arch/x86/kernel/jailhouse.c
+++ b/arch/x86/kernel/jailhouse.c
@@ -203,7 +203,7 @@ bool jailhouse_paravirt(void)
        return jailhouse_cpuid_base() != 0;
 }
 
-static bool jailhouse_x2apic_available(void)
+static bool __init jailhouse_x2apic_available(void)
 {
        /*
         * The x2APIC is only available if the root cell enabled it. Jailhouse
-- 
1.8.3.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/1561294903-6166-2-git-send-email-zhenzhong.duan%40oracle.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to