x86/apic/vsmp: Make is_vsmp_box() static
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 1 Aug 2014 21:47:56 +0000 (14:47 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 1 Aug 2014 22:09:45 +0000 (15:09 -0700)
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

index b99b9ad8540c525f79468d6fce0682681478c008..ee22c1d93ae5c4c5ffe065981d591507a0511a07 100644 (file)
@@ -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;
 }
This page took 0.025289 seconds and 5 git commands to generate.