lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 27 Jun 2019 08:04:11 -0700
From:   tip-bot for Zhenzhong Duan <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     mingo@...nel.org, tglx@...utronix.de, linux-kernel@...r.kernel.org,
        jan.kiszka@...mens.com, zhenzhong.duan@...cle.com, hpa@...or.com,
        bp@...en8.de
Subject: [tip:x86/platform] x86/jailhouse: Mark jailhouse_x2apic_available()
 as __init

Commit-ID:  d97ee99bf225d35a50ed8812c3d037b2ba7ad2ea
Gitweb:     https://git.kernel.org/tip/d97ee99bf225d35a50ed8812c3d037b2ba7ad2ea
Author:     Zhenzhong Duan <zhenzhong.duan@...cle.com>
AuthorDate: Wed, 26 Jun 2019 16:54:49 +0800
Committer:  Thomas Gleixner <tglx@...utronix.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@...cle.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Jan Kiszka <jan.kiszka@...mens.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: jailhouse-dev@...glegroups.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ