x86: fix warning in "x86: clean up vSMP detection"
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>
This commit is contained in:
parent
e686d34156
commit
8008abbd87
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue