Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/xen: Fix xen head ELF annotations

Mark the ends of the startup_xen and hypercall_page code sections.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Juergen Gross <jgross@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/3a80a394d30af43d9cefa1a29628c45ed8420c97.1505764066.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Josh Poimboeuf and committed by
Ingo Molnar
2582d3df e93db75a

+2 -2
+2 -2
arch/x86/xen/xen-head.S
··· 33 33 mov $init_thread_union+THREAD_SIZE, %_ASM_SP 34 34 35 35 jmp xen_start_kernel 36 - 36 + END(startup_xen) 37 37 __FINIT 38 38 #endif 39 39 ··· 47 47 .type xen_hypercall_##n, @function; .size xen_hypercall_##n, 32 48 48 #include <asm/xen-hypercalls.h> 49 49 #undef HYPERCALL 50 - 50 + END(hypercall_page) 51 51 .popsection 52 52 53 53 ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "linux")