summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/loongson/loongson/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/loongson/loongson/machdep.c b/sys/arch/loongson/loongson/machdep.c
index 2148fd0301b..cb2363a1170 100644
--- a/sys/arch/loongson/loongson/machdep.c
+++ b/sys/arch/loongson/loongson/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.10 2010/02/09 19:24:08 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.11 2010/02/09 21:30:11 miod Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
@@ -429,6 +429,7 @@ mips_init(int32_t argc, int32_t argv, int32_t envp, int32_t cv)
*/
Loongson2_ConfigCache(curcpu());
+ Loongson2_SyncCache(curcpu());
tlb_set_page_mask(TLB_PAGE_MASK);
tlb_set_wired(0);