Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba2727b5 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: ioremap_64 needs after_bootmem.



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent b542ad11
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;