summaryrefslogtreecommitdiff
path: root/arch/arm26/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm26/mm/init.c')
-rw-r--r--arch/arm26/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm26/mm/init.c b/arch/arm26/mm/init.c
index 1f09a9d0fb8..e3ecaa45374 100644
--- a/arch/arm26/mm/init.c
+++ b/arch/arm26/mm/init.c
@@ -324,7 +324,7 @@ static inline void free_area(unsigned long addr, unsigned long end, char *s)
for (; addr < end; addr += PAGE_SIZE) {
struct page *page = virt_to_page(addr);
ClearPageReserved(page);
- set_page_count(page, 1);
+ init_page_count(page);
free_page(addr);
totalram_pages++;
}