x86: fix warning in "x86: clean up vSMP detection"
authorAlexander van Heukelum <heukelum@mailshack.com>
Wed, 16 Apr 2008 16:45:35 +0000 (18:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 29 Apr 2008 11:45:24 +0000 (13:45 +0200)
The function detect_vsmp_box is a void function in the PCI case.
Change the !PCI stub to void too.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/vsmp_64.c

index caf2a26..ba8c0b7 100644 (file)
@@ -133,7 +133,7 @@ int is_vsmp_box(void)
        }
 }
 #else
-static int __init detect_vsmp_box(void)
+static void __init detect_vsmp_box(void)
 {
 }
 int is_vsmp_box(void)