diff options
author | jake <jake@FreeBSD.org> | 2002-07-30 05:48:33 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-07-30 05:48:33 +0000 |
commit | 5b1899e180f5e79b1c5d10f861e1e8f99e17f52c (patch) | |
tree | d74d7f21622875d950b4d7c49a6eee25f2e93ca6 | |
parent | 87912a806c8b91534db3964da33c4ec467ba5469 (diff) | |
download | FreeBSD-src-5b1899e180f5e79b1c5d10f861e1e8f99e17f52c.zip FreeBSD-src-5b1899e180f5e79b1c5d10f861e1e8f99e17f52c.tar.gz |
The data cache on UltraSPARC III is not directly mapped, so don't assert
that. This breaks assumptions made by some of the cache flushing code,
but UltraSPARC III has different methods for invalidating cache lines
anyway.
-rw-r--r-- | sys/sparc64/sparc64/cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/cache.c b/sys/sparc64/sparc64/cache.c index 821b599..f285258 100644 --- a/sys/sparc64/sparc64/cache.c +++ b/sys/sparc64/sparc64/cache.c @@ -209,8 +209,6 @@ cache_init(phandle_t node) panic("cache_init: D$ size not a power of 2"); if (((cache.dc_size / cache.dc_assoc) / PAGE_SIZE) != DCACHE_COLORS) panic("cache_init: too many D$ colors"); - if (cache.dc_assoc != 1) - panic("cache_init: D$ is not directly mapped!"); set = cache.ec_size / cache.ec_assoc; cache.ec_l2set = ffs(set) - 1; if ((set & ~(1UL << cache.ec_l2set)) != 0) |