diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2014-08-01 17:47:56 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-08-01 18:09:45 -0400 |
commit | 5e3bf215f4f2efc0af89e6dbc5da789744aeb5d7 (patch) | |
tree | 57e7182f1a1bc71d941bbee7bdf00fe8616e63c7 /arch/x86 | |
parent | 2f078b9cb8798cdabb7c2ff24b0b683eea546f96 (diff) |
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/vsmp_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c index b99b9ad8540c..ee22c1d93ae5 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) | |||
152 | is_vsmp = 1; | 152 | is_vsmp = 1; |
153 | } | 153 | } |
154 | 154 | ||
155 | int is_vsmp_box(void) | 155 | static int is_vsmp_box(void) |
156 | { | 156 | { |
157 | if (is_vsmp != -1) | 157 | if (is_vsmp != -1) |
158 | return is_vsmp; | 158 | return is_vsmp; |
@@ -166,7 +166,7 @@ int is_vsmp_box(void) | |||
166 | static void __init detect_vsmp_box(void) | 166 | static void __init detect_vsmp_box(void) |
167 | { | 167 | { |
168 | } | 168 | } |
169 | int is_vsmp_box(void) | 169 | static int is_vsmp_box(void) |
170 | { | 170 | { |
171 | return 0; | 171 | return 0; |
172 | } | 172 | } |