Commit 8b2f7fff authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Ingo Molnar

x86: fix Section mismatch: reference to .init.text:lguest_entry

fix:

> WARNING: vmlinux.o(.data+0x4): Section mismatch: reference to .init.text:lguest_entry (between 'subarch_entries' and 'stack_start')
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 5756dd59
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
.text .text
#include <linux/threads.h> #include <linux/threads.h>
#include <linux/init.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/page.h> #include <asm/page.h>
...@@ -151,7 +152,9 @@ WEAK(xen_entry) ...@@ -151,7 +152,9 @@ WEAK(xen_entry)
/* Unknown implementation; there's really /* Unknown implementation; there's really
nothing we can do at this point. */ nothing we can do at this point. */
ud2a ud2a
.data
__INITDATA
subarch_entries: subarch_entries:
.long default_entry /* normal x86/PC */ .long default_entry /* normal x86/PC */
.long lguest_entry /* lguest hypervisor */ .long lguest_entry /* lguest hypervisor */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment