]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kprobes/arm: fix decoding of arithmetic immediate instructions
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 24 Apr 2008 05:31:45 +0000 (01:31 -0400)
committerNicolas Pitre <nico@cam.org>
Mon, 28 Apr 2008 19:54:55 +0000 (15:54 -0400)
commita3fd133c24e16d430ba21f3d9f5c0b8faeeb37fe
tree22e5141fbfa1f7be804a156d1ce79f900ebd5e98
parent8f79ff0cb5330a92032c30ff586745d3016b34ca
kprobes/arm: fix decoding of arithmetic immediate instructions

The ARM kprobes arithmetic immediate instruction decoder
(space_cccc_001x()) was accidentally zero'ing out not only the Rn and
Rd arguments, but the lower nibble of the immediate argument as well
-- this patch fixes this.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
arch/arm/kernel/kprobes-decode.c