Skip to contentSkip to conversation

xentrace: XC_PAGE_SIZE should be used

PATCH New KUWAMURA Shin'ya 1 participant 1 message Jan 21, 2010

lore
Share & tools
lore
#0 lore raw

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.

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

tools/xentrace/xentrace.c +1 -1
diff -r f300b53520d0 -r 1006dbb26f9e 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);
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel