* [PATCH] x86: fix return type of detect_vsmp_box() for !CONFIG_PCI
@ 2008-04-28 21:40 Bert Wesarg
0 siblings, 0 replies; only message in thread
From: Bert Wesarg @ 2008-04-28 21:40 UTC (permalink / raw)
To: mingo; +Cc: linux-kernel, akpm, Bert Wesarg, Ravikiran Thirumalai
The return type for CONFIG_PCI is void, but for !CONFIG_PCI its int.
Fix this.
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Cc: Ravikiran Thirumalai <kiran@scalex86.org>
---
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 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)
--
1.5.5.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-28 21:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-28 21:40 [PATCH] x86: fix return type of detect_vsmp_box() for !CONFIG_PCI Bert Wesarg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®