diff options
Diffstat (limited to 'arch/score/mm/init.c')
-rw-r--r-- | arch/score/mm/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/score/mm/init.c b/arch/score/mm/init.c index dfaf458d670..50fdec54c70 100644 --- a/arch/score/mm/init.c +++ b/arch/score/mm/init.c @@ -26,6 +26,7 @@ #include <linux/errno.h> #include <linux/bootmem.h> #include <linux/kernel.h> +#include <linux/gfp.h> #include <linux/init.h> #include <linux/mm.h> #include <linux/mman.h> @@ -59,7 +60,7 @@ static unsigned long setup_zero_page(void) } #ifndef CONFIG_NEED_MULTIPLE_NODES -static int __init page_is_ram(unsigned long pagenr) +int page_is_ram(unsigned long pagenr) { if (pagenr >= min_low_pfn && pagenr < max_low_pfn) return 1; |