From: Andi Kleen Date: Fri, 10 Aug 2007 20:31:10 +0000 (+0200) Subject: i386: Fix start_kernel warning X-Git-Tag: v2.6.23-rc3~15 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5fe4486c79cdc8dbbb2a9c3f884a5ad0830a5a23;p=~shefty%2Frdma-dev.git i386: Fix start_kernel warning Fix WARNING: vmlinux.o(.text+0x183): Section mismatch: reference to .init.text:start_kernel (between 'is386' and 'check_x87') Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S index 7c52b222207..8f0382161c9 100644 --- a/arch/i386/kernel/head.S +++ b/arch/i386/kernel/head.S @@ -162,9 +162,7 @@ page_pde_offset = (__PAGE_OFFSET >> 20); * which will be freed later */ -#ifdef CONFIG_HOTPLUG_CPU -.section .text,"ax",@progbits -#else +#ifndef CONFIG_HOTPLUG_CPU .section .init.text,"ax",@progbits #endif