diff options
author | Tim Deegan <tim@xen.org> | 2012-05-17 10:24:53 +0100 |
---|---|---|
committer | Tim Deegan <tim@xen.org> | 2012-05-17 10:24:53 +0100 |
commit | 8c160c6e9d16a9969e66c1a878f78bb3c48f5c44 (patch) | |
tree | 3052b49e4fc43ea9eba467a97e57ee522671d5c1 /xen/include/asm-x86/p2m.h | |
parent | 1fc655991963a21abcf04ed3ceb438a505a3929a (diff) | |
download | xen-8c160c6e9d16a9969e66c1a878f78bb3c48f5c44.tar.gz xen-8c160c6e9d16a9969e66c1a878f78bb3c48f5c44.tar.bz2 xen-8c160c6e9d16a9969e66c1a878f78bb3c48f5c44.zip |
x86/mm: make p2m lock into an rwlock
Because the p2m lock was already recursive, we need to add a new
mm-lock class of recursive rwlocks.
Signed-off-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen/include/asm-x86/p2m.h')
-rw-r--r-- | xen/include/asm-x86/p2m.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/p2m.h b/xen/include/asm-x86/p2m.h index fa98b43ff7..15cdd8253a 100644 --- a/xen/include/asm-x86/p2m.h +++ b/xen/include/asm-x86/p2m.h @@ -192,7 +192,7 @@ typedef unsigned int p2m_query_t; /* Per-p2m-table state */ struct p2m_domain { /* Lock that protects updates to the p2m */ - mm_lock_t lock; + mm_rwlock_t lock; /* Shadow translated domain: p2m mapping */ pagetable_t phys_table; |