lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] x86: fix return type of detect_vsmp_box() for !CONFIG_PCI
Date
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


\
 
 \ /
  Last update: 2008-04-28 23:45    [W:0.028 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site