diff options
Diffstat (limited to 'arch/arm/mm/init.c')
-rw-r--r-- | arch/arm/mm/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 8b276ee38acf..88279124317a 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/initrd.h> | 19 | #include <linux/initrd.h> |
20 | 20 | ||
21 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
22 | #include <asm/hardware.h> | ||
23 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
24 | #include <asm/tlb.h> | 23 | #include <asm/tlb.h> |
25 | 24 | ||
@@ -531,7 +530,7 @@ static inline void free_area(unsigned long addr, unsigned long end, char *s) | |||
531 | for (; addr < end; addr += PAGE_SIZE) { | 530 | for (; addr < end; addr += PAGE_SIZE) { |
532 | struct page *page = virt_to_page(addr); | 531 | struct page *page = virt_to_page(addr); |
533 | ClearPageReserved(page); | 532 | ClearPageReserved(page); |
534 | set_page_count(page, 1); | 533 | init_page_count(page); |
535 | free_page(addr); | 534 | free_page(addr); |
536 | totalram_pages++; | 535 | totalram_pages++; |
537 | } | 536 | } |