]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kprobes/arm: fix decoding of arithmetic immediate instructions
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 1 May 2008 15:04:55 +0000 (11:04 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 May 2008 04:40:49 +0000 (21:40 -0700)
commitac5b631e8ffc2f63b3f23a5c03c13186b21b4a08
treead88e9058b2b016afb8e77a4b86c27b467256f77
parent6d45756316559c7ee0e68b2541305a8867d8ef6f
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.

Mainline commit: a3fd133c24e16d430ba21f3d9f5c0b8faeeb37fe

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