[IA64] kprobe opcode 16 bytes alignment on IA64
authorbibo mao <bibo.mao@intel.com>
Tue, 26 Sep 2006 18:20:37 +0000 (11:20 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 26 Sep 2006 18:20:37 +0000 (11:20 -0700)
commit214ddde2f95037e129eff7e895869771719c7c1b
tree6879e433635ce84b964d7c78331cd8eda698f35e
parenta4b47ab9464a8200528fad3101668abdd7379cf9
[IA64] kprobe opcode 16 bytes alignment on IA64

On IA64 instruction opcode must be 16 bytes alignment, in kprobe structure
there is one element to save original instruction, currently saved opcode
is not statically allocated in kprobe structure, that can not assure
16 bytes alignment. This patch dynamically allocated kprobe instruction
opcode to assure 16 bytes alignment.

Signed-off-by: bibo mao <bibo.mao@intel.com>
Acked-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/kprobes.c
include/asm-ia64/kprobes.h