From: Alexander van Heukelum Date: Wed, 16 Apr 2008 16:45:35 +0000 (+0200) Subject: x86: fix warning in "x86: clean up vSMP detection" X-Git-Tag: upstream/snapshot3+hdmi~25532^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8008abbd87644c84f93a7a86fec88f1e14031901;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c index caf2a26..ba8c0b7 100644 --- a/arch/x86/kernel/vsmp_64.c +++ b/arch/x86/kernel/vsmp_64.c @@ -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)