xentrace: XC_PAGE_SIZE should be used
PATCH 1/1 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 <[email protected]>
Best regards,
Signature · 1 line
KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1264060867 -32400
# Node ID 1006dbb26f9ee68c15bd40d10b2b81a74890e244 # Parent f300b53520d0b13696f6ca6669fff8ad54289817
xentrace: XC_PAGE_SIZE should be used
Signed-off-by KUWAMURA Shin'ya <[email protected]>
tools/xentrace/xentrace.c +1 -1
@@ -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
[email protected]
http://lists.xensource.com/xen-devel