The macro is_idle_task references d_flags which is only in struct domain. When WAKE_HISTO or BLOCKTIME_HISTO are defined (in schedule.c) xen fails to compile with out the attached patch. Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com diffstat output: schedule.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Ryan Harper <ryanh@us.ibm.com> --- diff -urN a/xen/common/schedule.c b/xen/common/schedule.c --- a/xen/common/schedule.c 2005-04-04 22:16:38.000000000 -0500 +++ b/xen/common/schedule.c 2005-04-05 14:51:19.000000000 -0500 @@ -406,7 +406,7 @@ perfc_incrc(sched_ctx); #if defined(WAKE_HISTO) - if ( !is_idle_task(next) && next->wokenup ) { + if ( !is_idle_task(next->domain) && next->wokenup ) { ulong diff = (ulong)(now - next->wokenup); diff /= (ulong)MILLISECS(1); if (diff <= BUCKETS-2) schedule_data[cpu].hist[diff]++; @@ -415,7 +415,7 @@ next->wokenup = (s_time_t)0; #elif defined(BLOCKTIME_HISTO) prev->lastdeschd = now; - if ( !is_idle_task(next) ) + if ( !is_idle_task(next->domain) ) { ulong diff = (ulong)((now - next->lastdeschd) / MILLISECS(10)); if (diff <= BUCKETS-2) schedule_data[cpu].hist[diff]++; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel