kernel-fxtec-pro1x/arch/i386
Chris Wright d34fda4a84 x86: properly initialize temp insn buffer for paravirt patching
With commit ab144f5ec6 the patching code
now collects the complete new instruction stream into a temp buffer
before finally patching in the new insns.  In some cases the paravirt
patchers will choose to leave the patch site unpatched (length mismatch,
clobbers mismatch, etc).

This causes the new patching code to copy an uninitialized temp buffer,
i.e.  garbage, to the callsite.  Simply make sure to always initialize
the buffer with the original instruction stream.  A better fix is to
audit all the patchers and return proper length so that apply_paravirt()
can skip copies when we leave the patch site untouched.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-18 15:15:54 -07:00
..
boot [x86 setup] edd.c: make sure MBR signatures actually get reported 2007-08-14 17:55:31 -07:00
crypto
kernel x86: properly initialize temp insn buffer for paravirt patching 2007-08-18 15:15:54 -07:00
lib i386: Move all simple string operations out of line 2007-07-21 18:37:08 -07:00
mach-default
mach-es7000
mach-generic
mach-visws
mach-voyager usermodehelper: Tidy up waiting 2007-07-18 08:47:40 -07:00
math-emu
mm x86: Disable CLFLUSH support again 2007-08-11 15:58:13 -07:00
oprofile
pci i386: Fix broken mmiocfg accesses 2007-08-12 02:23:16 -07:00
power Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
video
xen i386: Make patching more robust, fix paravirt issue 2007-08-11 15:58:13 -07:00
defconfig i386: Update defconfig 2007-07-21 18:37:07 -07:00
Kconfig Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
Kconfig.cpu i386: Allow KVM on i386 nonpae 2007-07-19 14:37:05 -07:00
Kconfig.debug Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
Makefile x86_64: Check for .cfi_rel_offset in CFI probe 2007-08-18 10:25:25 -07:00
Makefile.cpu