diff options
author | Alexander van Heukelum <heukelum@mailshack.com> | 2008-04-16 18:45:35 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-29 13:45:24 +0200 |
commit | 8008abbd87644c84f93a7a86fec88f1e14031901 (patch) | |
tree | 86cc50fbc475585e24f693495c553c94a7341220 /arch | |
parent | e686d34156ef0e56b2ebec505b809018bc0dc73b (diff) | |
download | lwn-8008abbd87644c84f93a7a86fec88f1e14031901.tar.gz lwn-8008abbd87644c84f93a7a86fec88f1e14031901.zip |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/vsmp_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c index caf2a26f5cfd..ba8c0b75ab0a 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) |