WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xentrace: XC_PAGE_SIZE should be used
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Jan 2010 01:20:29 -0800
Delivery-date: Thu, 21 Jan 2010 01:20:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xentrace: XC_PAGE_SIZE should be used, Xen patchbot-unstable <=