[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1561377779-28036-3-git-send-email-zhenzhong.duan@oracle.com>
Date: Mon, 24 Jun 2019 20:02:54 +0800
From: Zhenzhong Duan <zhenzhong.duan@...cle.com>
To: linux-kernel@...r.kernel.org
Cc: tglx@...utronix.de, mingo@...nel.org, bp@...en8.de, hpa@...or.com,
boris.ostrovsky@...cle.com, jgross@...e.com,
sstabellini@...nel.org, peterz@...radead.org,
srinivas.eeda@...cle.com,
Zhenzhong Duan <zhenzhong.duan@...cle.com>,
Jan Kiszka <jan.kiszka@...mens.com>,
Ingo Molnar <mingo@...hat.com>, jailhouse-dev@...glegroups.com
Subject: [PATCH v2 2/7] x86/jailhouse: Mark jailhouse_x2apic_available as __init
.. as they are only called at early bootup stage.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@...cle.com>
Cc: Jan Kiszka <jan.kiszka@...mens.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: jailhouse-dev@...glegroups.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
Powered by blists - more mailing lists