aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/init.c')
-rw-r--r--arch/sh/mm/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index 3edf297c829b..ee8e6bbe882c 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -184,7 +184,6 @@ void __init paging_init(void)
184} 184}
185 185
186static struct kcore_list kcore_mem, kcore_vmalloc; 186static struct kcore_list kcore_mem, kcore_vmalloc;
187int after_bootmem = 0;
188 187
189void __init mem_init(void) 188void __init mem_init(void)
190{ 189{
@@ -217,8 +216,6 @@ void __init mem_init(void)
217 memset(empty_zero_page, 0, PAGE_SIZE); 216 memset(empty_zero_page, 0, PAGE_SIZE);
218 __flush_wback_region(empty_zero_page, PAGE_SIZE); 217 __flush_wback_region(empty_zero_page, PAGE_SIZE);
219 218
220 after_bootmem = 1;
221
222 codesize = (unsigned long) &_etext - (unsigned long) &_text; 219 codesize = (unsigned long) &_etext - (unsigned long) &_text;
223 datasize = (unsigned long) &_edata - (unsigned long) &_etext; 220 datasize = (unsigned long) &_edata - (unsigned long) &_etext;
224 initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin; 221 initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin;