From: "tip-bot for H. Peter Anvin" <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org,
oren@scalemp.com, shai@scalemp.com, tglx@linutronix.de,
hpa@linux.intel.com, fengguang.wu@intel.com
Subject: [tip:x86/apic] x86/apic/vsmp: Make is_vsmp_box() static
Date: Fri, 1 Aug 2014 15:12:39 -0700 [thread overview]
Message-ID: <tip-5e3bf215f4f2efc0af89e6dbc5da789744aeb5d7@git.kernel.org> (raw)
In-Reply-To: <1404036068-11674-1-git-send-email-oren@scalemp.com>
Commit-ID: 5e3bf215f4f2efc0af89e6dbc5da789744aeb5d7
Gitweb: http://git.kernel.org/tip/5e3bf215f4f2efc0af89e6dbc5da789744aeb5d7
Author: H. Peter Anvin <hpa@linux.intel.com>
AuthorDate: Fri, 1 Aug 2014 14:47:56 -0700
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Fri, 1 Aug 2014 15:09:45 -0700
x86/apic/vsmp: Make is_vsmp_box() static
Since checkin
411cf9ee2946 x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()
... is_vsmp_box() is only used in vsmp_64.c and does not have any
header file declaring it, so make it explicitly static.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Shai Fultheim <shai@scalemp.com>
Cc: Oren Twaig <oren@scalemp.com>
Link: http://lkml.kernel.org/r/1404036068-11674-1-git-send-email-oren@scalemp.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
arch/x86/kernel/vsmp_64.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c
index b99b9ad..ee22c1d 100644
--- a/arch/x86/kernel/vsmp_64.c
+++ b/arch/x86/kernel/vsmp_64.c
@@ -152,7 +152,7 @@ static void __init detect_vsmp_box(void)
is_vsmp = 1;
}
-int is_vsmp_box(void)
+static int is_vsmp_box(void)
{
if (is_vsmp != -1)
return is_vsmp;
@@ -166,7 +166,7 @@ int is_vsmp_box(void)
static void __init detect_vsmp_box(void)
{
}
-int is_vsmp_box(void)
+static int is_vsmp_box(void)
{
return 0;
}
prev parent reply other threads:[~2014-08-01 22:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 10:01 [PATCH v2] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box() Oren Twaig
2014-07-06 6:32 ` Oren Twaig
2014-07-06 6:33 ` Oren Twaig
2014-07-13 6:51 ` Ping: " Oren Twaig
2014-07-13 9:10 ` Richard Weinberger
2014-07-13 9:27 ` Oren Twaig
2014-07-13 16:40 ` H. Peter Anvin
2014-07-13 18:36 ` Oren Twaig
2014-07-14 1:55 ` [tip:x86/apic] " tip-bot for Oren Twaig
2014-08-01 22:12 ` tip-bot for H. Peter Anvin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-5e3bf215f4f2efc0af89e6dbc5da789744aeb5d7@git.kernel.org \
--to=tipbot@zytor.com \
--cc=fengguang.wu@intel.com \
--cc=hpa@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=oren@scalemp.com \
--cc=shai@scalemp.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).