[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-afed7d172091040f38c75a2927fed170ea11585f@git.kernel.org>
Date: Tue, 13 Feb 2018 08:58:35 -0800
From: tip-bot for Dou Liyang <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: torvalds@...ux-foundation.org, peterz@...radead.org,
douly.fnst@...fujitsu.com, linux-kernel@...r.kernel.org,
jgross@...e.com, hpa@...or.com, tglx@...utronix.de,
mingo@...nel.org
Subject: [tip:x86/apic] x86/x2apic: Mark set_x2apic_phys_mode() as __init
Commit-ID: afed7d172091040f38c75a2927fed170ea11585f
Gitweb: https://git.kernel.org/tip/afed7d172091040f38c75a2927fed170ea11585f
Author: Dou Liyang <douly.fnst@...fujitsu.com>
AuthorDate: Wed, 17 Jan 2018 11:45:43 +0800
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 13 Feb 2018 17:24:36 +0100
x86/x2apic: Mark set_x2apic_phys_mode() as __init
set_x2apic_phys_mode() is only called as part of early_param()
initialization - so mark it as __init.
Signed-off-by: Dou Liyang <douly.fnst@...fujitsu.com>
Cc: Juergen Gross <jgross@...e.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/20180117034543.26723-1-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/kernel/apic/x2apic_phys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/apic/x2apic_phys.c b/arch/x86/kernel/apic/x2apic_phys.c
index f8d9d69..e2829bf 100644
--- a/arch/x86/kernel/apic/x2apic_phys.c
+++ b/arch/x86/kernel/apic/x2apic_phys.c
@@ -14,7 +14,7 @@ int x2apic_phys;
static struct apic apic_x2apic_phys;
-static int set_x2apic_phys_mode(char *arg)
+static int __init set_x2apic_phys_mode(char *arg)
{
x2apic_phys = 1;
return 0;
Powered by blists - more mailing lists