kernel_optimize_test/arch/x86
Jan Beulich 01be50a308 x86/alternatives: Check replacementlen <= instrlen at build time
Having run into the run-(boot-)time check a couple of times lately,
I finally took time to find a build-time check so that one doesn't
need to analyze the register/stack dump and resolve this (through
manual lookup in vmlinux) to the offending construct.

The assembler will emit a message like "Error: value of <num> too
large for field of 1 bytes at <offset>", which while not pointing
out the source location still makes analysis quite a bit easier.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <4B0FF8AA0200007800022703@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-02 11:39:45 +01:00
..
boot
configs
crypto
ia32
include/asm x86/alternatives: Check replacementlen <= instrlen at build time 2009-12-02 11:39:45 +01:00
kernel x86, 64-bit: Set data segments to null after switching to 64-bit mode 2009-11-26 10:44:30 +01:00
kvm
lguest
lib
math-emu
mm
oprofile
pci
power
vdso
video
xen
Kbuild
Kconfig
Kconfig.cpu
Kconfig.debug
Makefile
Makefile_32.cpu