Skip to content

Commit

Permalink
microblaze: Remove memset in free_init_pages
Browse files Browse the repository at this point in the history
We don't need to do it.

Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed Apr 1, 2010
1 parent 6fa114e commit 4009819
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/microblaze/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ void free_init_pages(char *what, unsigned long begin, unsigned long end)
for (addr = begin; addr < end; addr += PAGE_SIZE) {
ClearPageReserved(virt_to_page(addr));
init_page_count(virt_to_page(addr));
memset((void *)addr, 0xcc, PAGE_SIZE);
free_page(addr);
totalram_pages++;
}
Expand Down

0 comments on commit 4009819

Please sign in to comment.