aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/prom_parse.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-01-14 15:06:51 +1100
committerPaul Mackerras <paulus@samba.org>2006-01-14 15:06:51 +1100
commitb4e7de0f3575f4862f04921c5bd0cb5680cc8d71 (patch)
treeb74a9a277168b35119d9dd5657ab567c21fc2111 /arch/powerpc/kernel/prom_parse.c
parent66a45dd3620ee5f913ba1af3d2dca8b9bdfa2b96 (diff)
powerpc: Avoid unaligned loads and stores in boot memcpy code
The 601 processor will generate an alignment exception for accesses which cross a page boundary. In the boot wrapper code, OF is still handling all exceptions, and it doesn't have an alignment exception handler that emulates the instruction and continues. This changes the memcpy and memmove routines in the boot wrapper to avoid doing unaligned accesses. If the source and destination are misaligned with respect to each other, we just copy one byte at a time. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_parse.c')
0 files changed, 0 insertions, 0 deletions