diff options
author | alc <alc@FreeBSD.org> | 2003-02-13 07:03:44 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-02-13 07:03:44 +0000 |
commit | f1cd81fb954125d148c489e0cf44757ecb2ec6d7 (patch) | |
tree | 2c2e817a0a44c9ca7506c25db12c3b25377bf368 /sys/ia64 | |
parent | fd450daf8f09febcf232cec1200cdc25c4e1b6cc (diff) | |
download | FreeBSD-src-f1cd81fb954125d148c489e0cf44757ecb2ec6d7.zip FreeBSD-src-f1cd81fb954125d148c489e0cf44757ecb2ec6d7.tar.gz |
MFi386
Remove kptobj. Instead, use VM_ALLOC_NOOBJ.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/pmap.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index cb3d1d3..e5587b9 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -196,7 +196,6 @@ vm_offset_t vhpt_base, vhpt_size; * we use one page directory to index a set of pages containing * ia64_lptes. This gives us up to 2Gb of kernel virtual space. */ -static vm_object_t kptobj; static int nkpt; static struct ia64_lpte **kptdir; #define KPTE_DIR_INDEX(va) \ @@ -558,11 +557,6 @@ pmap_init(vm_offset_t phys_start, vm_offset_t phys_end) uma_prealloc(ptezone, initial_pvs); /* - * Create the object for the kernel's page tables. - */ - kptobj = vm_object_allocate(OBJT_DEFAULT, MAXKPT); - - /* * Now it is safe to enable pv_table recording. */ pmap_initialized = TRUE; @@ -924,8 +918,8 @@ pmap_growkernel(vm_offset_t addr) /* * This index is bogus, but out of the way */ - nkpg = vm_page_alloc(kptobj, nkpt, - VM_ALLOC_SYSTEM | VM_ALLOC_WIRED); + nkpg = vm_page_alloc(NULL, nkpt, + VM_ALLOC_NOOBJ | VM_ALLOC_SYSTEM | VM_ALLOC_WIRED); if (!nkpg) panic("pmap_growkernel: no memory to grow kernel"); |