projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d44891
)
Fix x86_32 build
author
Tim Deegan
<tim@xen.org>
Thu, 2 Feb 2012 15:47:26 +0000
(15:47 +0000)
committer
Tim Deegan
<tim@xen.org>
Thu, 2 Feb 2012 15:47:26 +0000
(15:47 +0000)
Signed-off-by: Tim Deegan <tim@xen.org>
xen/common/memory.c
patch
|
blob
|
history
diff --git
a/xen/common/memory.c
b/xen/common/memory.c
index b47e2447c75a58aa1ecc6c376063c6f17fadf407..489c9a620b8312bbde37c9fdc9556d3af1b0fc00 100644
(file)
--- a/
xen/common/memory.c
+++ b/
xen/common/memory.c
@@
-182,7
+182,7
@@
int guest_remove_page(struct domain *d, unsigned long gmfn)
}
page = mfn_to_page(mfn);
-#ifdef CONFIG_X86
+#ifdef CONFIG_X86
_64
if ( p2m_is_shared(p2mt) )
{
/* Unshare the page, bail out on error. We unshare because
@@
-192,8
+192,8
@@
int guest_remove_page(struct domain *d, unsigned long gmfn)
if ( mem_sharing_unshare_page(d, gmfn, 0) )
return 0;
}
+#endif /* CONFIG_X86_64 */
-#endif /* CONFIG_X86 */
if ( unlikely(!get_page(page, d)) )
{
put_gfn(d, gmfn);