From d2c78cca9b6c90d9b7aee1d348a2b7f9b02d2520 Mon Sep 17 00:00:00 2001 From: jchandra Date: Fri, 18 Jun 2010 20:07:30 +0000 Subject: 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 --- sys/mips/include/pmap.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/mips/include/pmap.h') 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. -- cgit v1.1