From fad9e7d95769ff6c0918b79d58a7ba03615c3ff9 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 20 Jul 2007 17:46:42 +0900 Subject: sh64: Flag sh64_get_page() as __init_refok. sh64_get_page() wraps in to regular allocators as well as the bootmem allocator for fetching pages, it carefully checks to see which one it can use depending on the system state, so the access is safe. Signed-off-by: Paul Mundt --- arch/sh64/mm/ioremap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/sh64') diff --git a/arch/sh64/mm/ioremap.c b/arch/sh64/mm/ioremap.c index ff26c02511aa..990857756d44 100644 --- a/arch/sh64/mm/ioremap.c +++ b/arch/sh64/mm/ioremap.c @@ -242,7 +242,7 @@ static void shmedia_free_io(struct resource *res) release_resource(res); } -static void *sh64_get_page(void) +static __init_refok void *sh64_get_page(void) { extern int after_bootmem; void *page; -- cgit v1.2.2