summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/sparc64/pmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/sparc64/pmap.c')
-rw-r--r--sys/sparc64/sparc64/pmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c
index 0b1e6b2..ebeedaa 100644
--- a/sys/sparc64/sparc64/pmap.c
+++ b/sys/sparc64/sparc64/pmap.c
@@ -1210,8 +1210,7 @@ pmap_pinit(pmap_t pm)
* Allocate KVA space for the TSB.
*/
if (pm->pm_tsb == NULL) {
- pm->pm_tsb = (struct tte *)kmem_alloc_nofault(kernel_map,
- TSB_BSIZE);
+ pm->pm_tsb = (struct tte *)kva_alloc(TSB_BSIZE);
if (pm->pm_tsb == NULL) {
PMAP_LOCK_DESTROY(pm);
return (0);
OpenPOWER on IntegriCloud