提交 5fe4486c 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

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: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1f101489
...@@ -162,9 +162,7 @@ page_pde_offset = (__PAGE_OFFSET >> 20); ...@@ -162,9 +162,7 @@ page_pde_offset = (__PAGE_OFFSET >> 20);
* which will be freed later * which will be freed later
*/ */
#ifdef CONFIG_HOTPLUG_CPU #ifndef CONFIG_HOTPLUG_CPU
.section .text,"ax",@progbits
#else
.section .init.text,"ax",@progbits .section .init.text,"ax",@progbits
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册