aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/mm/init.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-03-22 19:13:54 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-22 19:13:54 -0500
commitf01c18456993bab43067b678f56c87ca954aa43b (patch)
tree3e0cd0cdf1a57618202b46a7126125902e3ab832 /arch/m68k/mm/init.c
parent949ec2c8e6b7b89179b85baf6309c009e1a1b951 (diff)
parent1c2e02750b992703a8a18634e08b04353face243 (diff)
Merge branch 'master'
Diffstat (limited to 'arch/m68k/mm/init.c')
-rw-r--r--arch/m68k/mm/init.c2
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++;