debuggers.hg

changeset 20880:ea02c95af387

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>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 21 09:13:46 2010 +0000 (2010-01-21)
parents 961acb357740
children 0bf9e66c5201
files tools/xentrace/xentrace.c
line diff
     1.1 --- a/tools/xentrace/xentrace.c	Thu Jan 21 09:12:01 2010 +0000
     1.2 +++ b/tools/xentrace/xentrace.c	Thu Jan 21 09:13:46 2010 +0000
     1.3 @@ -644,7 +644,7 @@ static int monitor_tbufs(void)
     1.4      get_tbufs(&tbufs_mfn, &tinfo_size);
     1.5      tbufs = map_tbufs(tbufs_mfn, num, tinfo_size);
     1.6  
     1.7 -    size = tbufs->t_info->tbuf_size * PAGE_SIZE;
     1.8 +    size = tbufs->t_info->tbuf_size * XC_PAGE_SIZE;
     1.9  
    1.10      data_size = size - sizeof(struct t_buf);
    1.11