提交 5e3bf215 编写于 作者: H H. Peter Anvin

x86/apic/vsmp: Make is_vsmp_box() static

Since checkin

411cf9ee 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: Nkbuild 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.comSigned-off-by: NH. Peter Anvin <hpa@linux.intel.com>
上级 2f078b9c
...@@ -152,7 +152,7 @@ static void __init detect_vsmp_box(void) ...@@ -152,7 +152,7 @@ static void __init detect_vsmp_box(void)
is_vsmp = 1; is_vsmp = 1;
} }
int is_vsmp_box(void) static int is_vsmp_box(void)
{ {
if (is_vsmp != -1) if (is_vsmp != -1)
return is_vsmp; return is_vsmp;
...@@ -166,7 +166,7 @@ int is_vsmp_box(void) ...@@ -166,7 +166,7 @@ int is_vsmp_box(void)
static void __init detect_vsmp_box(void) static void __init detect_vsmp_box(void)
{ {
} }
int is_vsmp_box(void) static int is_vsmp_box(void)
{ {
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册