Commit 4009819c authored by Michal Simek's avatar Michal Simek

microblaze: Remove memset in free_init_pages

We don't need to do it.
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 6fa114e0
...@@ -165,7 +165,6 @@ void free_init_pages(char *what, unsigned long begin, unsigned long end) ...@@ -165,7 +165,6 @@ void free_init_pages(char *what, unsigned long begin, unsigned long end)
for (addr = begin; addr < end; addr += PAGE_SIZE) { for (addr = begin; addr < end; addr += PAGE_SIZE) {
ClearPageReserved(virt_to_page(addr)); ClearPageReserved(virt_to_page(addr));
init_page_count(virt_to_page(addr)); init_page_count(virt_to_page(addr));
memset((void *)addr, 0xcc, PAGE_SIZE);
free_page(addr); free_page(addr);
totalram_pages++; totalram_pages++;
} }
......
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