]> git.hungrycats.org Git - linux/commit
[PATCH] ppc32: handle misaligned string/multiple insns
authorPaul Mackerras <paulus@samba.org>
Mon, 23 Aug 2004 05:27:52 +0000 (22:27 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:27:52 +0000 (22:27 -0700)
commit1862e9f201be0783ccfdf0c47379b1a862e29a87
treeac41bb84154affa0bed3de2ba21b401eedf86815
parentbc3152e40365d473c8aa4400f3a0b398611299ca
[PATCH] ppc32: handle misaligned string/multiple insns

This patch adds code to the ppc32 alignment exception handler to make it
handle the load/store string and load/store multiple word instructions.
This is an issue for older CPUs such as the PPC601, which traps on
load/store string instructions which cross a page boundary (newer CPUs
handle this in hardware).  I have a little test program which exercises
this code, so I am reasonably confident it's correct.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/align.c