aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/setup_32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index e68f848f24bf..b95f7cf693e6 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -294,6 +294,10 @@ unsigned long __init early_init(unsigned long dt_ptr)
294{ 294{
295 unsigned long offset = reloc_offset(); 295 unsigned long offset = reloc_offset();
296 296
297 /* First zero the BSS -- use memset_io, some platforms don't have
298 * caches on yet */
299 memset_io(PTRRELOC(&__bss_start), 0, _end - __bss_start);
300
297 /* 301 /*
298 * Identify the CPU type and fix up code sections 302 * Identify the CPU type and fix up code sections
299 * that depend on which cpu we have. 303 * that depend on which cpu we have.