Skip to content

Commit

Permalink
xen/multicalls: disable MC_DEBUG
Browse files Browse the repository at this point in the history
It's useful - and probably should be a config - but its very heavyweight,
especially with the tracing stuff to help sort out problems.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed Jul 18, 2011
1 parent bc7fe1d commit ffc7876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/xen/multicalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#define MC_BATCH 32

#define MC_DEBUG 1
#define MC_DEBUG 0

#define MC_ARGS (MC_BATCH * 16)

Expand Down Expand Up @@ -132,7 +132,7 @@ struct multicall_space __xen_mc_entry(size_t args)
}

ret.mc = &b->entries[b->mcidx];
#ifdef MC_DEBUG
#if MC_DEBUG
b->caller[b->mcidx] = __builtin_return_address(0);
#endif
b->mcidx++;
Expand Down

0 comments on commit ffc7876

Please sign in to comment.