From 8ff99ab32077718a1ece44a55924de18d88f382e Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 5 Jul 1999 16:09:06 +0000 Subject: don't cache pagetables on a microsparc 2, From NetBSD --- sys/arch/sparc/sparc/cache.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/arch') 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"); } -- cgit v1.2.3