Commit 85fc68d2 authored by David S. Miller's avatar David S. Miller Committed by Linus Torvalds

[SPARC64]: Do free_initmem() poisioning.

Just like on x86
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3ca0b5ee
......@@ -1745,6 +1745,7 @@ void free_initmem (void)
page = (addr +
((unsigned long) __va(kern_base)) -
((unsigned long) KERNBASE));
memset((void *)addr, 0xcc, PAGE_SIZE);
p = virt_to_page(page);
ClearPageReserved(p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment