diff options
| author | Attilio Rao <attilio@FreeBSD.org> | 2012-11-03 23:03:14 +0000 |
|---|---|---|
| committer | Attilio Rao <attilio@FreeBSD.org> | 2012-11-03 23:03:14 +0000 |
| commit | cfedf924d36debd2ea4fe146ebe33f3623f12cf5 (patch) | |
| tree | 6411bccb7372a8d587dd213ecf9a07e5207ee325 /sys/sparc64/include/pmap.h | |
| parent | d40c846abfc8855d850cd409d15decfd4482abfb (diff) | |
Notes
Diffstat (limited to 'sys/sparc64/include/pmap.h')
| -rw-r--r-- | sys/sparc64/include/pmap.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index cf2b2af12efc..6e2575d01902 100644 --- a/sys/sparc64/include/pmap.h +++ b/sys/sparc64/include/pmap.h @@ -68,11 +68,6 @@ struct pmap { struct pmap_statistics pm_stats; }; -struct tte_list_lock { - struct rwlock lock; - char padding[CACHE_LINE_SIZE - sizeof(struct rwlock)]; -}; - #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx) #define PMAP_LOCK_ASSERT(pmap, type) \ mtx_assert(&(pmap)->pm_mtx, (type)) @@ -108,8 +103,7 @@ void pmap_set_kctx(void); extern struct pmap kernel_pmap_store; #define kernel_pmap (&kernel_pmap_store) -extern struct tte_list_lock tte_list_global; -#define tte_list_global_lock tte_list_global.lock +extern struct rwlock_padalign tte_list_global_lock; extern vm_paddr_t phys_avail[]; extern vm_offset_t virtual_avail; extern vm_offset_t virtual_end; |
