[PATCH] ARM: Thumb-2: Fix out-of-range offset for Thumb-2 in proc-v7.S

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Jan 12 13:18:05 EST 2011


On Wed, Jan 12, 2011 at 10:33:33AM -0600, Dave Martin wrote:
> 2011/1/12 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> > On Tue, Jan 11, 2011 at 06:03:33PM -0600, Dave Martin wrote:
> >> The following patch introduces a pre-increment addressing
> >> offset which is out of range for Thumb-2:
> >>     ARM: pgtable: switch order of Linux vs hardware page tables
> > a commit id would be nice here
> >
> > Uwe
> 
> Apologies--- it's commit d30e45eeabefadc6039d7f876a59e5f5f6cb11c6
No need to excuse.

I suggest:

ARM: Thumb-2: Fix out-of-range offset for Thumb-2 in proc-v7.S

Commit

	d30e45e (ARM: pgtable: switch order of Linux vs hardware page tables)

introduced a pre-increment addressing offset which is out of range for
Thumb-2.  Thumb-2 only permits offsets <256.  So split the intruction in
two for Thumb-2.

Signed-off-by: ...

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list