]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 2867/2: unaligned ldrd/strd fixups
authorSteve Longerbeam <stevel@mwwireless.net>
Wed, 31 Aug 2005 20:22:20 +0000 (21:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Aug 2005 20:22:20 +0000 (21:22 +0100)
commitf21ee2d4245293ee6906eb7afd0a701f40e839b9
treea7c1339ca77ecc664c53ffa16864788ee41f3933
parent3618886f645c2ede45742d3e3d22a96b2ee2f527
[ARM] 2867/2: unaligned ldrd/strd fixups

Patch from Steve Longerbeam

Adds an implementation of unaligned LDRD and STRD fixups.
Also fixes a bug where do_alignment() would misinterpret and
fixup an unaligned LDRD/STRD as LDRH/STRH, causing memory
corruption.
This is the same as Patch #2867/1, but with minor whitespace
and comments changes, plus a check for arch-level >= v5TE
before printing ai_dword count in proc_alignment_read().

Signed-off-by: Steve Longerbeam <stevel@mwwireless.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/alignment.c