summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index bcdaae7..2f8766c 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -752,11 +752,6 @@ pmap_growkernel(vm_offset_t addr)
struct ia64_lpte *ptepage;
vm_page_t nkpg;
- if (kernel_vm_end >= addr)
- return;
-
- critical_enter();
-
while (kernel_vm_end < addr) {
/* We could handle more by increasing the size of kptdir. */
if (nkpt == MAXKPT)
@@ -775,8 +770,6 @@ pmap_growkernel(vm_offset_t addr)
nkpt++;
kernel_vm_end += PAGE_SIZE * NKPTEPG;
}
-
- critical_exit();
}
/***************************************************
OpenPOWER on IntegriCloud