kernel-aes67/arch/x86_64
Petr Vandrovec b8d3f2448b Do not replace whole memcpy in apply alternatives
apply_alternatives uses memcpy() to apply alternatives.  Which has the
unfortunate effect that while applying memcpy alternative to memcpy
itself it tries to overwrite itself with nops - which causes #UD fault
as it overwrites half of an instruction in copy loop, and from this
point on only possible outcome is triplefault and reboot.

So let's overwrite only first two instructions of memcpy - as long as
the main memcpy loop is not in first two bytes it will work fine.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-12 01:42:37 -07:00
..
boot x86_64: Early segment setup for VT 2007-08-11 15:58:13 -07:00
crypto
ia32 Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
kernel x86_64: Calgary - Fix mis-handled PCI topology 2007-08-11 15:58:12 -07:00
lib Do not replace whole memcpy in apply alternatives 2007-08-12 01:42:37 -07:00
mm x86: Disable CLFLUSH support again 2007-08-11 15:58:13 -07:00
oprofile
pci x86: Work around mmio config space quirk on AMD Fam10h 2007-08-11 15:58:12 -07:00
vdso x86_64: vdso.lds in arch/x86_64/vdso/.gitignore 2007-08-11 15:58:14 -07:00
defconfig Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
Kconfig [IA64] Fix build failure in fs/quota.c 2007-07-27 15:40:13 -07:00
Kconfig.debug Allow DEBUG_RODATA and KPROBES to co-exist 2007-06-21 16:02:50 -07:00
Makefile x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu 2007-07-21 18:37:08 -07:00