projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670b004
)
x86/jailhouse: Mark jailhouse_x2apic_available() as __init
author
Zhenzhong Duan
<zhenzhong.duan@oracle.com>
Wed, 26 Jun 2019 08:54:49 +0000
(16:54 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 27 Jun 2019 14:59:19 +0000
(16:59 +0200)
.. as it is only called at early bootup stage.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: jailhouse-dev@googlegroups.com
Link:
https://lkml.kernel.org/r/1561539289-29180-1-git-send-email-zhenzhong.duan@oracle.com
arch/x86/kernel/jailhouse.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/jailhouse.c
b/arch/x86/kernel/jailhouse.c
index 1b2ee55a2dfb4af6ec210046cb2e8ab10aacd024..d96d56310d5121e0cc5a70cb8d28ed5beac7af0f 100644
(file)
--- 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