From 41a41718c4503078fd084c5f3344fe4448936906 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 21 Jan 2010 09:13:46 +0000 Subject: 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 --- tools/xentrace/xentrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/xentrace') 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); -- cgit v1.2.3