Skip to content

Commit

Permalink
x86: fix warning in "x86: clean up vSMP detection"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander van Heukelum authored and Ingo Molnar committed Apr 29, 2008
1 parent e686d34 commit 8008abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/vsmp_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8008abb

Please sign in to comment.