kprobes/arm: fix decoding of arithmetic immediate instructions
commita3fd133c24e16d430ba21f3d9f5c0b8faeeb37fe
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 24 Apr 2008 05:31:45 +0000 (24 01:31 -0400)
committerNicolas Pitre <nico@cam.org>
Mon, 28 Apr 2008 19:54:55 +0000 (28 15:54 -0400)
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