diff options
author | marius <marius@FreeBSD.org> | 2011-02-08 21:58:13 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-02-08 21:58:13 +0000 |
commit | de1679ca0619f4b1d6cc9911eb76810a3c825279 (patch) | |
tree | 2a4d7e8ee265167b0c254ec3acd5b66cf39d49c3 | |
parent | 34a093ebf2ea646a5de15083ceade4c5aa0ad412 (diff) | |
download | FreeBSD-src-de1679ca0619f4b1d6cc9911eb76810a3c825279.zip FreeBSD-src-de1679ca0619f4b1d6cc9911eb76810a3c825279.tar.gz |
Take advantage of accessing the kernel TSB via ASI_ATOMIC_QUAD_LDD_PHYS
on SPARC64-V, too. Tested by: Michael Moll
-rw-r--r-- | sys/sparc64/sparc64/pmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index 317df3b..7563bec 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -389,7 +389,8 @@ pmap_bootstrap(u_int cpu_impl) * not support it, yet. */ virtsz = roundup(physsz, PAGE_SIZE_4M << (PAGE_SHIFT - TTE_SHIFT)); - if (cpu_impl >= CPU_IMPL_ULTRASPARCIIIp) + if (cpu_impl == CPU_IMPL_SPARC64V || + cpu_impl >= CPU_IMPL_ULTRASPARCIIIp) tsb_kernel_ldd_phys = 1; else { dtlb_slots_avail = 0; |