]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix potential interrupts during alternative patching
authorZachary Amsden <zach@vmware.com>
Fri, 20 Oct 2006 06:29:04 +0000 (23:29 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:26:43 +0000 (10:26 -0700)
commite51959faa61278c762389802faf8ba1a40676628
treeaadebbc601f7132a830d9dc33fc90f83af7bab6a
parenta90b061c0bf712961cea40d9c916b300073d12e5
[PATCH] Fix potential interrupts during alternative patching

Interrupts must be disabled during alternative instruction patching.  On
systems with high timer IRQ rates, or when running in an emulator, timing
differences can result in random kernel panics because of running partially
patched instructions.  This doesn't yet fix NMIs, which requires extricating
the patch code from the late bug checking and is logically separate (and also
less likely to cause problems).

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/alternative.c