summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel
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/kernel
parent1f1014896d0ddf26ae03c12c21f73706e8461013 (diff)
downloadop-kernel-dev-5fe4486c79cdc8dbbb2a9c3f884a5ad0830a5a23.zip
op-kernel-dev-5fe4486c79cdc8dbbb2a9c3f884a5ad0830a5a23.tar.gz
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/kernel')
-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 7c52b22..8f03821 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
OpenPOWER on IntegriCloud