diff options
Diffstat (limited to 'arch/m68k/mm/init.c')
-rw-r--r-- | arch/m68k/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c index c45beb955943..a190e39c907a 100644 --- a/arch/m68k/mm/init.c +++ b/arch/m68k/mm/init.c | |||
@@ -137,7 +137,7 @@ void free_initrd_mem(unsigned long start, unsigned long end) | |||
137 | int pages = 0; | 137 | int pages = 0; |
138 | for (; start < end; start += PAGE_SIZE) { | 138 | for (; start < end; start += PAGE_SIZE) { |
139 | ClearPageReserved(virt_to_page(start)); | 139 | ClearPageReserved(virt_to_page(start)); |
140 | set_page_count(virt_to_page(start), 1); | 140 | init_page_count(virt_to_page(start)); |
141 | free_page(start); | 141 | free_page(start); |
142 | totalram_pages++; | 142 | totalram_pages++; |
143 | pages++; | 143 | pages++; |