MN10300: Extract the displacement from an insn correctly in misalignment fixup
authorDavid Howells <dhowells@redhat.com>
Wed, 12 Nov 2008 15:35:14 +0000 (15:35 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Nov 2008 18:41:17 +0000 (10:41 -0800)
commitb308bf3be1f75207c307eea9ada90e0b76194911
treea782544532bf58b9475e2ebdd68ef811b6d3596e
parentee6e740cf7e5605b353af539eb9a6e17948747b6
MN10300: Extract the displacement from an insn correctly in misalignment fixup

Extract the displacement from an MN10300 instruction correctly in the
misalignment fixup handler.

The code should extract the displacement in LSB order, not MSB order.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/mm/misalignment.c