summaryrefslogtreecommitdiff
path: root/arch/microblaze/mm
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-03-03 17:03:21 +0100
committerMichal Simek <monstr@monstr.eu>2010-04-01 08:38:19 +0200
commit4009819cf90c26e3ec7b0ed949d5ff37c568e197 (patch)
tree476c17ec0da49671414be2ed60c81164c9fab4e2 /arch/microblaze/mm
parent6fa114e0f18fb33b66fd5ee9037052830198a8c4 (diff)
downloadlinux-next-4009819cf90c26e3ec7b0ed949d5ff37c568e197.tar.gz
microblaze: Remove memset in free_init_pages
We don't need to do it. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/mm')
-rw-r--r--arch/microblaze/mm/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index 1608e2e1a44a..45b4bce606bb 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -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++;
}