projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca3ab00
)
mem_sharing: use paging_mode_hap
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 18 May 2010 12:31:24 +0000
(13:31 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 18 May 2010 12:31:24 +0000
(13:31 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/include/asm-x86/mem_sharing.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/mem_sharing.h
b/xen/include/asm-x86/mem_sharing.h
index 230c9def187a7e319e3e244370f926c302f289d5..b0f3720def6d0a4daf663322a525a6f8d2d11f6f 100644
(file)
--- a/
xen/include/asm-x86/mem_sharing.h
+++ b/
xen/include/asm-x86/mem_sharing.h
@@
-23,7
+23,7
@@
#define __MEM_SHARING_H__
#define sharing_supported(_d) \
- (is_hvm_domain(_d) &&
(_d)->arch.hvm_domain.hap_enabled
)
+ (is_hvm_domain(_d) &&
paging_mode_hap(_d)
)
typedef uint64_t shr_handle_t;