]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
microblaze: Remove memset in free_init_pages
authorMichal Simek <monstr@monstr.eu>
Wed, 3 Mar 2010 16:03:21 +0000 (17:03 +0100)
committerMichal Simek <monstr@monstr.eu>
Thu, 1 Apr 2010 06:38:19 +0000 (08:38 +0200)
We don't need to do it.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/mm/init.c

index 1608e2e1a44abcb553a82b73b18d6bacef94556f..45b4bce606bb0c4819b09442a8e07eecf8cd6282 100644 (file)
@@ -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++;
        }