mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 02:01:29 +00:00
m68k: add ColdFire with MMU enabled support to the m68k mem init code
The ColdFire has similar setup requirements to the SUN3 code, so we use that. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Matt Waddel <mwaddel@yahoo.com> Acked-by: Kurt Mahan <kmahan@xmission.com>
This commit is contained in:
parent
3f0060b0e8
commit
fbe3364ac4
@ -139,7 +139,7 @@ void __init mem_init(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CONFIG_SUN3
|
#if !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE)
|
||||||
/* insert pointer tables allocated so far into the tablelist */
|
/* insert pointer tables allocated so far into the tablelist */
|
||||||
init_pointer_table((unsigned long)kernel_pg_dir);
|
init_pointer_table((unsigned long)kernel_pg_dir);
|
||||||
for (i = 0; i < PTRS_PER_PGD; i++) {
|
for (i = 0; i < PTRS_PER_PGD; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user