aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-08-10 22:31:10 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-11 15:58:14 -0700
commit5fe4486c79cdc8dbbb2a9c3f884a5ad0830a5a23 (patch)
tree5b4c24325936342dc3ffcc4a21e7afeb98d5f752 /arch/i386
parentx86_64: vdso.lds in arch/x86_64/vdso/.gitignore (diff)
downloadlinux-dev-5fe4486c79cdc8dbbb2a9c3f884a5ad0830a5a23.tar.xz
linux-dev-5fe4486c79cdc8dbbb2a9c3f884a5ad0830a5a23.zip
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 <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/head.S4
1 files changed, 1 insertions, 3 deletions
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