summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-07-20 11:07:10 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-07-20 11:07:10 +0000
commit4473a85d05b48539a5d4db04ae9384b5e4657f48 (patch)
tree39a1bc55cef607c61a5003d0c4e99df74563cde7 /sys
parent89164d3f1ea49e7a329c5374ba7da23ebc06c650 (diff)
don't cache pagetables on microsparc 1 either. From NetBSD
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/cache.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/sparc/sparc/cache.c b/sys/arch/sparc/sparc/cache.c
index 1b4840a5c8d..baf46bae8c9 100644
--- a/sys/arch/sparc/sparc/cache.c
+++ b/sys/arch/sparc/sparc/cache.c
@@ -1,5 +1,5 @@
-/* $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 $ */
+/* $OpenBSD: cache.c,v 1.9 1999/07/20 11:07:09 art Exp $ */
+/* $NetBSD: cache.c,v 1.34 1997/09/26 22:17:23 pk Exp $ */
/*
* Copyright (c) 1996
@@ -130,8 +130,6 @@ ms1_cache_enable()
/* Turn on caches */
sta(SRMMU_PCR, ASI_SRMMU, pcr | MS1_PCR_DCE | MS1_PCR_ICE);
- cpuinfo.flags |= CPUFLG_CACHEPAGETABLES;
-
CACHEINFO.c_enabled = CACHEINFO.dc_enabled = 1;
printf("cache enabled\n");