diff options
author | jchandra <jchandra@FreeBSD.org> | 2010-06-18 20:07:30 +0000 |
---|---|---|
committer | jchandra <jchandra@FreeBSD.org> | 2010-06-18 20:07:30 +0000 |
commit | d2c78cca9b6c90d9b7aee1d348a2b7f9b02d2520 (patch) | |
tree | d52ffb56040f224c5a78f5711f4c79c7b54db89e /sys/mips/include/pmap.h | |
parent | 3fc50687aaf022a812650864190599f8749a82cf (diff) | |
download | FreeBSD-src-d2c78cca9b6c90d9b7aee1d348a2b7f9b02d2520.zip FreeBSD-src-d2c78cca9b6c90d9b7aee1d348a2b7f9b02d2520.tar.gz |
Merge jmallett@'s n64 work into HEAD - changeset 5
Remove unnecessary locking and sched_pin() call while creating a temporary
mapping.
Changes from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs (mentor), jmallett
Diffstat (limited to 'sys/mips/include/pmap.h')
-rw-r--r-- | sys/mips/include/pmap.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/mips/include/pmap.h b/sys/mips/include/pmap.h index 6130dd0..f2ff691 100644 --- a/sys/mips/include/pmap.h +++ b/sys/mips/include/pmap.h @@ -116,12 +116,6 @@ extern struct pmap kernel_pmap_store; #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx) #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx) -#define PMAP_LGMEM_LOCK_INIT(sysmap) mtx_init(&(sysmap)->lock, "pmap-lgmem", \ - "per-cpu-map", (MTX_DEF| MTX_DUPOK)) -#define PMAP_LGMEM_LOCK(sysmap) mtx_lock(&(sysmap)->lock) -#define PMAP_LGMEM_UNLOCK(sysmap) mtx_unlock(&(sysmap)->lock) -#define PMAP_LGMEM_DESTROY(sysmap) mtx_destroy(&(sysmap)->lock) - /* * For each vm_page_t, there is a list of all currently valid virtual * mappings of that page. An entry is a pv_entry_t, the list is pv_table. |