[PATCH] ARM: kprobes-decode: add support for MOVW instruction

Will Deacon will.deacon at arm.com
Mon Sep 27 13:13:49 EDT 2010


> On Mon, 27 Sep 2010, Will Deacon wrote:
> 
> > > The MOVW instruction moves a 16-bit immediate into the bottom halfword
> > > of the destination register.
> > >
> > > This patch ensures that kprobes leaves the 16-bit immediate intact, rather
> > > than assume a 12-bit immediate and mask out the upper 4 bits.
> > >
> > > Cc: Nicolas Pitre <nico at fluxnic.net>
> > > Signed-off-by: Will Deacon <will.deacon at arm.com>
> 
> Acked-by: Nicolas Pitre <nicolas.pitre at linaro.org>

Cheers Nicolas,

Submitted as 6412/1.

Will





More information about the linux-arm-kernel mailing list