* [PATCH RESEND] x86/jailhouse: Mark jailhouse_x2apic_available as __init
@ 2019-06-26 8:54 Zhenzhong Duan
2019-06-27 15:04 ` [tip:x86/platform] x86/jailhouse: Mark jailhouse_x2apic_available() " tip-bot for Zhenzhong Duan
0 siblings, 1 reply; 2+ messages in thread
From: Zhenzhong Duan @ 2019-06-26 8:54 UTC (permalink / raw)
To: linux-kernel
Cc: Zhenzhong Duan, Jan Kiszka, Thomas Gleixner, Ingo Molnar,
Borislav Petkov, jailhouse-dev
.. as they are only called at early bootup stage.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: jailhouse-dev@googlegroups.com
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/platform] x86/jailhouse: Mark jailhouse_x2apic_available() as __init
2019-06-26 8:54 [PATCH RESEND] x86/jailhouse: Mark jailhouse_x2apic_available as __init Zhenzhong Duan
@ 2019-06-27 15:04 ` tip-bot for Zhenzhong Duan
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Zhenzhong Duan @ 2019-06-27 15:04 UTC (permalink / raw)
To: linux-tip-commits
Cc: mingo, tglx, linux-kernel, jan.kiszka, zhenzhong.duan, hpa, bp
Commit-ID: d97ee99bf225d35a50ed8812c3d037b2ba7ad2ea
Gitweb: https://git.kernel.org/tip/d97ee99bf225d35a50ed8812c3d037b2ba7ad2ea
Author: Zhenzhong Duan <zhenzhong.duan@oracle.com>
AuthorDate: Wed, 26 Jun 2019 16:54:49 +0800
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 27 Jun 2019 16:59:19 +0200
x86/jailhouse: Mark jailhouse_x2apic_available() as __init
.. 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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c
index 1b2ee55a2dfb..d96d56310d51 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-27 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-26 8:54 [PATCH RESEND] x86/jailhouse: Mark jailhouse_x2apic_available as __init Zhenzhong Duan
2019-06-27 15:04 ` [tip:x86/platform] x86/jailhouse: Mark jailhouse_x2apic_available() " tip-bot for Zhenzhong Duan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).