projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5698200
)
sh64: Flag sh64_get_page() as __init_refok.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 20 Jul 2007 08:46:42 +0000
(17:46 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 20 Jul 2007 08:46:42 +0000
(17:46 +0900)
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>
arch/sh64/mm/ioremap.c
patch
|
blob
|
history
diff --git
a/arch/sh64/mm/ioremap.c
b/arch/sh64/mm/ioremap.c
index ff26c02511aa6eac58ed79bb284f7bb76604e2f0..990857756d44db11195d23edc5eee4564a8a7556 100644
(file)
--- 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;