Skip to contentSkip to conversation

ioemu: pass-through: XC_PAGE_SIZE should be used

PATCH New KUWAMURA Shin'ya 1 participant 1 message Jul 9, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioemu: pass-through: XC_PAGE_SIZE should be used

Hi,

On ia64, the changeset 17961:9cf72db44ee9 cause a compilation error, `PAGE_SIZE' undeclared. XC_PAGE_SIZE is correct.

Best regards,

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1215569158 -32400
# Node ID b639984891977816451a7fe162f8dd18be2acf17 # Parent bd97e45e073aa57fa5d472e125b60b628f78517f
ioemu: pass-through: XC_PAGE_SIZE should be used

tools/ioemu/hw/pass-through.h +1 -1
diff -r bd97e45e073a -r b63998489197 tools/ioemu/hw/pass-through.h
@@ -73,7 +73,7 @@ enum {
 
 #define PT_GET_EMUL_SIZE(flag, r_size) do { \
     if (flag == PT_BAR_FLAG_MEM) {\
-        r_size = (((r_size) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)); \
+        r_size = (((r_size) + XC_PAGE_SIZE - 1) & ~(XC_PAGE_SIZE - 1)); \
     }\
 } while(0)
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel