aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-01-21 09:13:46 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-01-21 09:13:46 +0000
commit41a41718c4503078fd084c5f3344fe4448936906 (patch)
treedb65b65e1c4925aa57201cf6e12797e297599ee4 /tools/xentrace
parent3a007e1577a578f525f4c2b895cf098e9c72509a (diff)
downloadxen-41a41718c4503078fd084c5f3344fe4448936906.tar.gz
xen-41a41718c4503078fd084c5f3344fe4448936906.tar.bz2
xen-41a41718c4503078fd084c5f3344fe4448936906.zip
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@jp.fujitsu.com>
Diffstat (limited to 'tools/xentrace')
-rw-r--r--tools/xentrace/xentrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xentrace/xentrace.c b/tools/xentrace/xentrace.c
index b6da08e38c..7f63e7fc9d 100644
--- a/tools/xentrace/xentrace.c
+++ b/tools/xentrace/xentrace.c
@@ -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);