kernel-ark/arch
Gerd Hoffmann d167a51877 [PATCH] x86_64: x86_64 version of the smp alternative patch.
Changes are largely identical to the i386 version:

 * alternative #define are moved to the new alternative.h file.
 * one new elf section with pointers to the lock prefixes which can be
   nop'ed out for non-smp.
 * two new elf sections simliar to the "classic" alternatives to
   replace SMP code with simpler UP code.
 * fixup headers to use alternative.h instead of defining their own
   LOCK / LOCK_PREFIX macros.

The patch reuses the i386 version of the alternatives code to avoid code
duplication.  The code in alternatives.c was shuffled around a bit to
reduce the number of #ifdefs needed.  It also got some tweaks needed for
x86_64 (vsyscall page handling) and new features (noreplacement option
which was x86_64 only up to now).  Debug printk's are changed from
compile-time to runtime.

Loosely based on a early version from Bastian Blank <waldi@debian.org>

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 10:48:14 -07:00
..
alpha
arm [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
arm26
cris
frv
h8300
i386 [PATCH] x86_64: x86_64 version of the smp alternative patch. 2006-06-26 10:48:14 -07:00
ia64 [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
m32r
m68k [PATCH] m68k: convert VME irq code 2006-06-25 10:00:58 -07:00
m68knommu [PATCH] m68knommu: improve syscall entry and fix strace 2006-06-25 21:04:24 -07:00
mips [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
parisc
powerpc [PATCH] spufs: update ->flush method proto 2006-06-25 17:43:32 -07:00
ppc [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
s390 [PATCH] s390: setup.c cleanup + build fix 2006-06-25 10:01:25 -07:00
sh
sh64
sparc
sparc64
um [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
v850
x86_64 [PATCH] x86_64: x86_64 version of the smp alternative patch. 2006-06-26 10:48:14 -07:00
xtensa