linux/arch/x86/xen
Sam Ravnborg 08b6d290f9 xen: fix section usage in xen-head.S and setup.c
additional section for .init.text appending a number.

A side effect of this was a section mismatch warning because modpost did
not recognize a .init.text section named .init.text.1: WARNING:
vmlinux.o(.text.head+0x247): Section mismatch: reference to
.init.text.1:start_kernel (between 'is386' and 'check_x87')

Fix this by hardcoding the "ax" in the pushsection.  Thanks to Torlaf for
reporting this.

Alan Modra provided the hint that made me able to locate the root cause of
this warning.  And Mike Frysinger told me how to properly fix it using
__INIT/__FINIT.

Fix following Section mismatch warning in addition:
WARNING: vmlinux.o(.text+0x14c8): Section mismatch: reference to .init.data:vsyscall_int80_start (between 'fiddle_vdso' and 'xen_setup_features')

fiddle_vdso was only used from a __init function - so declare it __init.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:25 +01:00
..
enlighten.c x86: adjust/fix LDT handling for Xen 2008-01-30 13:33:14 +01:00
events.c x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00
features.c i386: move xen 2007-10-11 11:16:51 +02:00
Kconfig Normalize config options for guest support 2007-10-23 15:49:47 +10:00
Makefile i386: move xen 2007-10-11 11:16:51 +02:00
manage.c i386: move xen 2007-10-11 11:16:51 +02:00
mmu.c xen: mask out PWT too 2008-01-30 13:32:58 +01:00
mmu.h i386: move xen 2007-10-11 11:16:51 +02:00
multicalls.c xen: add some debug output for failed multicalls 2007-10-16 11:51:31 -07:00
multicalls.h xen: add batch completion callbacks 2007-10-16 11:51:30 -07:00
setup.c xen: fix section usage in xen-head.S and setup.c 2008-01-30 13:33:25 +01:00
smp.c x86: use generic register name in the thread and tss structures 2008-01-30 13:31:02 +01:00
time.c x86: convert TSC disabling to generic cpuid disable bitmap 2008-01-30 13:33:20 +01:00
vdso.h i386: move xen 2007-10-11 11:16:51 +02:00
xen-asm.S i386: move xen 2007-10-11 11:16:51 +02:00
xen-head.S xen: fix section usage in xen-head.S and setup.c 2008-01-30 13:33:25 +01:00
xen-ops.h xen: deal with stale cr3 values when unpinning pagetables 2007-10-16 11:51:30 -07:00