ia64/xen-unstable

changeset 18325:c6402709acc8

shadow: Fix BUILD_BUG_ON().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 13 13:54:17 2008 +0100 (2008-08-13)
parents 0638a5c2cc9f
children da236d7f59b9
files xen/arch/x86/mm/shadow/private.h
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/private.h	Wed Aug 13 13:45:39 2008 +0100
     1.2 +++ b/xen/arch/x86/mm/shadow/private.h	Wed Aug 13 13:54:17 2008 +0100
     1.3 @@ -218,7 +218,7 @@ struct shadow_page_info
     1.4   * Also, the mbz field must line up with the owner field of normal 
     1.5   * pages, so they look properly like anonymous/xen pages. */
     1.6  static inline void shadow_check_page_struct_offsets(void) {
     1.7 -    BUILD_BUG_ON(sizeof (struct shadow_page_info) < sizeof (struct page_info));
     1.8 +    BUILD_BUG_ON(sizeof (struct shadow_page_info) > sizeof (struct page_info));
     1.9      BUILD_BUG_ON(offsetof(struct shadow_page_info, mbz) !=
    1.10                   offsetof(struct page_info, u.inuse._domain));
    1.11  };