aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/setup_32.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2006-10-20 15:57:15 +0200
committerPaul Mackerras <paulus@samba.org>2006-10-25 11:39:27 +1000
commitfb20f65a01a97bdf4bb746eecfc24a08561e2648 (patch)
tree2082553fbc91d56aa36b21f36738354f1d8c7edd /arch/powerpc/kernel/setup_32.c
parentaa7a32cbdac50bb46a75722faa359993dab07c61 (diff)
[POWERPC] Fix hang in start_ldr if _end or _edata is unaligned
Quick fix for lack of memset(__bss_start, 0, _end-__bss_start) in load_kernel(). If edata is unaligned, the loop will overwrite all memory because r3 and r4 will never be equal. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
0 files changed, 0 insertions, 0 deletions