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

[Xen-changelog] [xen-unstable] xentrace: XC_PAGE_SIZE should be used



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1264065226 0
# Node ID ea02c95af3877af4b9c21c09366b338c5bc5f019
# Parent  961acb357740507248fb5f6e502625c39e923177
xentrace: XC_PAGE_SIZE should be used

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

This patch fixes it.

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

diff -r 961acb357740 -r ea02c95af387 tools/xentrace/xentrace.c
--- a/tools/xentrace/xentrace.c Thu Jan 21 09:12:01 2010 +0000
+++ b/tools/xentrace/xentrace.c Thu Jan 21 09:13:46 2010 +0000
@@ -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-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®.