summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-07-05 16:09:06 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-07-05 16:09:06 +0000
commit8ff99ab32077718a1ece44a55924de18d88f382e (patch)
tree690d797a7cc5724ebe646eb0eff0c3f793ee2209
parentd738c8cd0657ef098f70ff8a69f643990bdf2086 (diff)
don't cache pagetables on a microsparc 2, From NetBSD
-rw-r--r--sys/arch/sparc/sparc/cache.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/sparc/sparc/cache.c b/sys/arch/sparc/sparc/cache.c
index 9d44b3ee989..1b4840a5c8d 100644
--- a/sys/arch/sparc/sparc/cache.c
+++ b/sys/arch/sparc/sparc/cache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cache.c,v 1.7 1999/03/22 07:17:13 deraadt Exp $ */
+/* $OpenBSD: cache.c,v 1.8 1999/07/05 16:09:05 art Exp $ */
/* $NetBSD: cache.c,v 1.33 1997/07/29 09:41:56 fair Exp $ */
/*
@@ -251,9 +251,6 @@ swift_cache_enable()
sta(i, ASI_DCACHETAG, 0);
}
- /* XXX - assume that an MS2 with ecache is really a turbo in disguise */
- if (CACHEINFO.ec_totalsize == 0)
- cpuinfo.flags |= CPUFLG_CACHEPAGETABLES; /* Ok to cache PTEs */
CACHEINFO.c_enabled = 1;
printf("cache enabled\n");
}