projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b542ad1
)
sh: ioremap_64 needs after_bootmem.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 20 Nov 2007 06:14:48 +0000
(15:14 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:49 +0000
(13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/mm/init.c
b/arch/sh/mm/init.c
index d5e160da64b2759196597c395b06ad1f2e9a203e..5d19c8c7ab530e39b60f50bdd6451a353a52edcb 100644
(file)
--- a/
arch/sh/mm/init.c
+++ b/
arch/sh/mm/init.c
@@
-170,6
+170,7
@@
void __init paging_init(void)
}
static struct kcore_list kcore_mem, kcore_vmalloc;
+int after_bootmem = 0;
void __init mem_init(void)
{
@@
-214,6
+215,8
@@
void __init mem_init(void)
clear_page = clear_page_nommu;
#endif
+ after_bootmem = 1;
+
codesize = (unsigned long) &_etext - (unsigned long) &_text;
datasize = (unsigned long) &_edata - (unsigned long) &_etext;
initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin;