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

[Xen-devel] [PATCH] xentrace: XC_PAGE_SIZE should be used



Hi,

20827:fad80160c001 cannot be compiled on ia64:
  xentrace.c:647: error: 'PAGE_SIZE' undeclared (first use in this function)

This patch fixes it.

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

Best regards,
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1264060867 -32400
# Node ID 1006dbb26f9ee68c15bd40d10b2b81a74890e244
# Parent  f300b53520d0b13696f6ca6669fff8ad54289817
xentrace: XC_PAGE_SIZE should be used

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

diff -r f300b53520d0 -r 1006dbb26f9e tools/xentrace/xentrace.c
--- a/tools/xentrace/xentrace.c Wed Jan 20 20:36:19 2010 +0000
+++ b/tools/xentrace/xentrace.c Thu Jan 21 17:01:07 2010 +0900
@@ -644,7 +644,7 @@ static int monitor_tbufs(void)
     get_tbufs(&tbufs_mfn, &tinfo_size);
     tbufs = map_tbufs(tbufs_mfn, num, tinfo_size);
 
-    size = tbufs->t_info->tbuf_size * PAGE_SIZE;
+    size = tbufs->t_info->tbuf_size * XC_PAGE_SIZE;
 
     data_size = size - sizeof(struct t_buf);
 
_______________________________________________
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®.