Skip to contentSkip to conversation

x86: fix return type of detect_vsmp_box() for !CONFIG_PCI

PATCH New Bert Wesarg 1 participant 1 message Apr 28, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: fix return type of detect_vsmp_box() for !CONFIG_PCI

The return type for CONFIG_PCI is void, but for !CONFIG_PCI its int. Fix this.

Cc Ravikiran Thirumalai <[email protected]>
---
 arch/x86/kernel/vsmp_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/vsmp_64.c +1 -1
index caf2a26..ba8c0b7 100644
@@ -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)
Signature · 1 line
1.5.5.GIT