]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] enable trap code on slot 1
authorTony Luck <tony.luck@intel.com>
Tue, 14 Nov 2006 17:33:38 +0000 (09:33 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 12 Dec 2006 20:00:55 +0000 (12:00 -0800)
commit8d4f76b31fa831b3ef1f5e2214c99e594ba256a6
tree1be49040ba10db0fefc16a31c4ee13461c50e131
parentdd5f7925cbd31e610721d75630e7d2cdc78bfc61
[IA64] enable trap code on slot 1

Because slot 1 of one instr bundle crosses border of two consecutive
8-bytes, kprobe on slot 1 is disabled. This patch enables kprobe on
slot1, it only replaces higher 8-bytes of the instruction bundle and
changes the exception code to ignore the low 12 bits of the break
number (which is across the border in the lower 8-bytes of the bundle).

For those instructions which must execute regardless qp bits,
kprobe on slot 1 is still disabled.

Signed-off-by: bibo,mao <bibo.mao@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/jprobes.S
arch/ia64/kernel/kprobes.c
include/asm-ia64/break.h
include/asm-ia64/kprobes.h