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

[Xen-changelog] [xen-unstable] ioemu: pass-through: XC_PAGE_SIZE should be used



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215596382 -3600
# Node ID 79978fcf8797aca698c502376738dbb11d1fe56f
# Parent  92992f188053bf52bb62297ad15b83f339403b87
ioemu: pass-through: XC_PAGE_SIZE should be used

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
---
 tools/ioemu/hw/pass-through.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 92992f188053 -r 79978fcf8797 tools/ioemu/hw/pass-through.h
--- a/tools/ioemu/hw/pass-through.h     Wed Jul 09 10:39:13 2008 +0100
+++ b/tools/ioemu/hw/pass-through.h     Wed Jul 09 10:39:42 2008 +0100
@@ -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-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®.