summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2013-09-01 23:06:28 +0000
committerray <ray@FreeBSD.org>2013-09-01 23:06:28 +0000
commitc555be1512c6cc237ac340dd171267485fac099a (patch)
treeb9cc4b1606281220b8813c9d25c57aa69ba3b3f1 /sys/sparc64
parent3f79da49d7837c6e04517f7d2207686f190df73f (diff)
parent112102f8f6823fc3c0802cf6d5da73d112fa9693 (diff)
downloadFreeBSD-src-c555be1512c6cc237ac340dd171267485fac099a.zip
FreeBSD-src-c555be1512c6cc237ac340dd171267485fac099a.tar.gz
MFC @r255128.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/conf/GENERIC1
-rw-r--r--sys/sparc64/sparc64/pmap.c13
2 files changed, 10 insertions, 4 deletions
diff --git a/sys/sparc64/conf/GENERIC b/sys/sparc64/conf/GENERIC
index 5f2d0d4..2d82651 100644
--- a/sys/sparc64/conf/GENERIC
+++ b/sys/sparc64/conf/GENERIC
@@ -63,6 +63,7 @@ options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT # Security event auditing
options CAPABILITY_MODE # Capsicum capability mode
options CAPABILITIES # Capsicum capabilities
+options PROCDESC # Support for process descriptors
options MAC # TrustedBSD MAC Framework
options INCLUDE_CONFIG_FILE # Include this file in kernel
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c
index fe7ad85..a84e4c3 100644
--- a/sys/sparc64/sparc64/pmap.c
+++ b/sys/sparc64/sparc64/pmap.c
@@ -1204,8 +1204,6 @@ pmap_pinit(pmap_t pm)
vm_page_t m;
int i;
- PMAP_LOCK_INIT(pm);
-
/*
* Allocate KVA space for the TSB.
*/
@@ -1230,7 +1228,7 @@ pmap_pinit(pmap_t pm)
VM_OBJECT_WLOCK(pm->pm_tsb_obj);
for (i = 0; i < TSB_PAGES; i++) {
m = vm_page_grab(pm->pm_tsb_obj, i, VM_ALLOC_NOBUSY |
- VM_ALLOC_RETRY | VM_ALLOC_WIRED | VM_ALLOC_ZERO);
+ VM_ALLOC_WIRED | VM_ALLOC_ZERO);
m->valid = VM_PAGE_BITS_ALL;
m->md.pmap = pm;
ma[i] = m;
@@ -1299,7 +1297,6 @@ pmap_release(pmap_t pm)
vm_page_free_zero(m);
}
VM_OBJECT_WUNLOCK(obj);
- PMAP_LOCK_DESTROY(pm);
}
/*
@@ -2129,6 +2126,14 @@ pmap_is_referenced(vm_page_t m)
return (rv);
}
+/*
+ * This function is advisory.
+ */
+void
+pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
+{
+}
+
void
pmap_clear_modify(vm_page_t m)
{
OpenPOWER on IntegriCloud