From: Andi Kleen Date: Fri, 10 Aug 2007 20:31:10 +0000 (+0200) Subject: i386: Fix start_kernel warning X-Git-Tag: MMI-PSA29.97-13-9~40789 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5fe4486c79cdc8dbbb2a9c3f884a5ad0830a5a23;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 7c52b222207e..8f0382161c91 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