diff options
author | Michal Simek <monstr@monstr.eu> | 2010-03-03 11:03:21 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-04-01 02:38:19 -0400 |
commit | 4009819cf90c26e3ec7b0ed949d5ff37c568e197 (patch) | |
tree | 476c17ec0da49671414be2ed60c81164c9fab4e2 /arch/microblaze/mm | |
parent | 6fa114e0f18fb33b66fd5ee9037052830198a8c4 (diff) |
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.c | 1 |
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) | |||
165 | for (addr = begin; addr < end; addr += PAGE_SIZE) { | 165 | for (addr = begin; addr < end; addr += PAGE_SIZE) { |
166 | ClearPageReserved(virt_to_page(addr)); | 166 | ClearPageReserved(virt_to_page(addr)); |
167 | init_page_count(virt_to_page(addr)); | 167 | init_page_count(virt_to_page(addr)); |
168 | memset((void *)addr, 0xcc, PAGE_SIZE); | ||
169 | free_page(addr); | 168 | free_page(addr); |
170 | totalram_pages++; | 169 | totalram_pages++; |
171 | } | 170 | } |