linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / alpha / mm / init.c
index f45b42f..038f38e 100644 (file)
@@ -6,6 +6,7 @@
 
 /* 2.3.x zone allocator, 1999 Andrea Arcangeli <andrea@suse.de> */
 
+#include <linux/config.h>
 #include <linux/pagemap.h>
 #include <linux/signal.h>
 #include <linux/sched.h>
@@ -357,7 +358,7 @@ free_reserved_mem(void *start, void *end)
        void *__start = start;
        for (; __start < end; __start += PAGE_SIZE) {
                ClearPageReserved(virt_to_page(__start));
-               init_page_count(virt_to_page(__start));
+               set_page_count(virt_to_page(__start), 1);
                free_page((long)__start);
                totalram_pages++;
        }