linux/arch/x86
Steven Rostedt f4be31ec96 pop previous section in alternative.c
gcc expects all toplevel assembly to return to the original section type.
The code in alteranative.c does not do this. This caused some strange bugs
in sched-devel where code would end up in the .rodata section and when
the kernel sets the NX bit on all .rodata, the kernel would crash when
executing this code.

This patch adds a .previous marker to return the code back to the
original section.

Credit goes to Andrew Pinski for telling me it wasn't a gcc bug but a
bug in the toplevel asm code in the kernel.  ;-)

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-09 18:38:08 -07:00
..
boot x86-boot: don't request VBE2 information 2008-03-07 16:39:14 +01:00
configs
crypto
ia32 x86: clear DF before calling signal handler 2008-03-07 16:39:14 +01:00
kernel pop previous section in alternative.c 2008-04-09 18:38:08 -07:00
kvm KVM: MMU: Fix memory leak on guest demand faults 2008-03-25 10:22:17 +02:00
lguest lguest: comment documentation update. 2008-03-28 11:05:54 +11:00
lib
mach-default
mach-es7000
mach-generic
mach-rdc321x rdc321x: GPIO routines bugfixes 2008-03-27 16:08:45 +01:00
mach-visws x86/visws: fix printk format warnings 2008-03-21 17:06:15 +01:00
mach-voyager
math-emu
mm Avoid false positive warnings in kmap_atomic_prot() with DEBUG_HIGHMEM 2008-03-28 13:08:14 -07:00
oprofile
pci fix BIOS PCI config cycle buglet causing ACPI boot regression 2008-03-10 18:09:05 -07:00
power
vdso x86 vdso: fix build locale dependency 2008-02-29 18:55:39 +01:00
video
xen xen: Clear PG_pinned in release_{pt,pd}() 2008-04-04 18:36:48 +02:00
Kconfig documentation: Move power-related files to Documentation/power/ 2008-03-12 18:10:51 -04:00
Kconfig.cpu x86: a P4 is a P6 not an i486 2008-03-04 11:55:34 -08:00
Kconfig.debug
Makefile
Makefile_32.cpu