Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd184343 authored by Paul Mackerras's avatar Paul Mackerras
Browse files

powerpc: Clear the BSS at the start of early_init with ARCH=ppc



Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 7ac59c62
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -294,6 +294,10 @@ unsigned long __init early_init(unsigned long dt_ptr)
{
	unsigned long offset = reloc_offset();

	/* First zero the BSS -- use memset_io, some platforms don't have
	 * caches on yet */
	memset_io(PTRRELOC(&__bss_start), 0, _end - __bss_start);

	/*
	 * Identify the CPU type and fix up code sections
	 * that depend on which cpu we have.