diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 04:46:42 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 04:46:42 -0400 |
commit | fad9e7d95769ff6c0918b79d58a7ba03615c3ff9 (patch) | |
tree | a60d48ceef9771d6960d5950bab8df442044f6ff /arch | |
parent | 56982002a359533d471834f4398e3002aeb6fbbc (diff) |
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh64/mm/ioremap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
242 | release_resource(res); | 242 | release_resource(res); |
243 | } | 243 | } |
244 | 244 | ||
245 | static void *sh64_get_page(void) | 245 | static __init_refok void *sh64_get_page(void) |
246 | { | 246 | { |
247 | extern int after_bootmem; | 247 | extern int after_bootmem; |
248 | void *page; | 248 | void *page; |