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

[Xen-devel] [PATCH] 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,
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1215569158 -32400
# Node ID b639984891977816451a7fe162f8dd18be2acf17
# Parent  bd97e45e073aa57fa5d472e125b60b628f78517f
ioemu: pass-through: XC_PAGE_SIZE should be used

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

diff -r bd97e45e073a -r b63998489197 tools/ioemu/hw/pass-through.h
--- a/tools/ioemu/hw/pass-through.h     Tue Jul 08 09:28:50 2008 +0100
+++ b/tools/ioemu/hw/pass-through.h     Wed Jul 09 11:05:58 2008 +0900
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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