[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] shadow: Fix BUILD_BUG_ON().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1218632057 -3600
# Node ID c6402709acc8122e3f8f92a885750afb4061ac61
# Parent  0638a5c2cc9f2053f6025edf3ddc5ff12300924d
shadow: Fix BUILD_BUG_ON().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/private.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0638a5c2cc9f -r c6402709acc8 xen/arch/x86/mm/shadow/private.h
--- a/xen/arch/x86/mm/shadow/private.h  Wed Aug 13 13:45:39 2008 +0100
+++ b/xen/arch/x86/mm/shadow/private.h  Wed Aug 13 13:54:17 2008 +0100
@@ -218,7 +218,7 @@ struct shadow_page_info
  * Also, the mbz field must line up with the owner field of normal 
  * pages, so they look properly like anonymous/xen pages. */
 static inline void shadow_check_page_struct_offsets(void) {
-    BUILD_BUG_ON(sizeof (struct shadow_page_info) < sizeof (struct page_info));
+    BUILD_BUG_ON(sizeof (struct shadow_page_info) > sizeof (struct page_info));
     BUILD_BUG_ON(offsetof(struct shadow_page_info, mbz) !=
                  offsetof(struct page_info, u.inuse._domain));
 };

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.