summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-02-21 14:58:18 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-02-21 14:58:18 +0000
commit087477a275b631918db59e41d7ca7e5cb378df9a (patch)
tree7b4574cdb8a4c198896fc48bedebd3d6d309f831 /sys
parent0130e74609df6b1f7f3c1cad544b0a8bcf4f9a37 (diff)
In cpumatch_hypersparc - zap the instruction cache if we are the main cpu.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/cpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/cpu.c b/sys/arch/sparc/sparc/cpu.c
index 2c5d0998b4c..fa0a1883eb0 100644
--- a/sys/arch/sparc/sparc/cpu.c
+++ b/sys/arch/sparc/sparc/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.27 2000/02/21 14:57:04 art Exp $ */
+/* $OpenBSD: cpu.c,v 1.28 2000/02/21 14:58:17 art Exp $ */
/* $NetBSD: cpu.c,v 1.56 1997/09/15 20:52:36 pk Exp $ */
/*
@@ -938,6 +938,9 @@ cpumatch_hypersparc(sc, mp, node)
{
sc->cpu_type = CPUTYP_HS_MBUS;/*XXX*/
+ if (node == 0)
+ sta(0, ASI_HICACHECLR, 0);
+
replacemul();
}