patch-2.4.0-test5 linux/arch/sh/mm/init.c
Next file: linux/arch/sh/vmlinux.lds.S
Previous file: linux/arch/sh/mm/fault.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Jul 21 14:21:06 2000
- Orig file:
v2.4.0-test4/linux/arch/sh/mm/init.c
- Orig date:
Tue Apr 11 15:09:14 2000
diff -u --recursive --new-file v2.4.0-test4/linux/arch/sh/mm/init.c linux/arch/sh/mm/init.c
@@ -1,4 +1,4 @@
-/* $Id: init.c,v 1.16 2000/02/14 15:19:05 gniibe Exp $
+/* $Id: init.c,v 1.17 2000-04-08 15:38:54+09 gniibe Exp $
*
* linux/arch/sh/mm/init.c
*
@@ -206,6 +206,9 @@
/* Enable MMU */
ctrl_outl(MMU_CONTROL_INIT, MMUCR);
+
+ /* The manual suggests doing some nops after turning on the MMU */
+ asm volatile("nop;nop;nop;nop;nop;nop;");
mmu_context_cache = MMU_CONTEXT_FIRST_VERSION;
set_asid(mmu_context_cache & MMU_CONTEXT_ASID_MASK);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)