Skip to content

Commit

Permalink
i386: Fix start_kernel warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Aug 11, 2007
1 parent 1f10148 commit 5fe4486
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/i386/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5fe4486

Please sign in to comment.