ia64/xen-unstable

changeset 18003:79978fcf8797

ioemu: pass-through: XC_PAGE_SIZE should be used

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jul 09 10:39:42 2008 +0100 (2008-07-09)
parents 92992f188053
children 830e5d8b71da
files tools/ioemu/hw/pass-through.h
line diff
     1.1 --- a/tools/ioemu/hw/pass-through.h	Wed Jul 09 10:39:13 2008 +0100
     1.2 +++ b/tools/ioemu/hw/pass-through.h	Wed Jul 09 10:39:42 2008 +0100
     1.3 @@ -73,7 +73,7 @@ enum {
     1.4  
     1.5  #define PT_GET_EMUL_SIZE(flag, r_size) do { \
     1.6      if (flag == PT_BAR_FLAG_MEM) {\
     1.7 -        r_size = (((r_size) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)); \
     1.8 +        r_size = (((r_size) + XC_PAGE_SIZE - 1) & ~(XC_PAGE_SIZE - 1)); \
     1.9      }\
    1.10  } while(0)
    1.11