Skip to content

Commit

Permalink
x86/apic/vsmp: Make is_vsmp_box() static
Browse files Browse the repository at this point in the history
Since checkin

411cf9e 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>
  • Loading branch information
H. Peter Anvin committed Aug 1, 2014
1 parent 2f078b9 commit 5e3bf21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/vsmp_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit 5e3bf21

Please sign in to comment.