diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/mm/init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 852eda3953dc..3796be67cd53 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c | |||
@@ -1013,9 +1013,9 @@ void flush_tlb_all(void) | |||
1013 | #ifdef CONFIG_BLK_DEV_INITRD | 1013 | #ifdef CONFIG_BLK_DEV_INITRD |
1014 | void free_initrd_mem(unsigned long start, unsigned long end) | 1014 | void free_initrd_mem(unsigned long start, unsigned long end) |
1015 | { | 1015 | { |
1016 | #if 0 | 1016 | if (start >= end) |
1017 | if (start < end) | 1017 | return; |
1018 | printk(KERN_INFO "Freeing initrd memory: %ldk freed\n", (end - start) >> 10); | 1018 | printk(KERN_INFO "Freeing initrd memory: %ldk freed\n", (end - start) >> 10); |
1019 | for (; start < end; start += PAGE_SIZE) { | 1019 | for (; start < end; start += PAGE_SIZE) { |
1020 | ClearPageReserved(virt_to_page(start)); | 1020 | ClearPageReserved(virt_to_page(start)); |
1021 | init_page_count(virt_to_page(start)); | 1021 | init_page_count(virt_to_page(start)); |
@@ -1023,6 +1023,5 @@ void free_initrd_mem(unsigned long start, unsigned long end) | |||
1023 | num_physpages++; | 1023 | num_physpages++; |
1024 | totalram_pages++; | 1024 | totalram_pages++; |
1025 | } | 1025 | } |
1026 | #endif | ||
1027 | } | 1026 | } |
1028 | #endif | 1027 | #endif |