x86: fix return type of detect_vsmp_box() for !CONFIG_PCI
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.
Signed-off-by Bert Wesarg <[email protected]>
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
@@ -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