Fix whitespaces in tracer
PATCH 3/7 Fix whitespaces in tracer
Philippe, I bet you mailer played some role here again, so I'm better sending attachments ;). Anyway, this also gives the chance to do it even more cleanly.
Jan
--- kernel/ipipe/tracer.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
kernel/ipipe/tracer.c +10 -10
@@ -624,18 +624,18 @@ void ipipe_trace_panic_dump(void)struct ipipe_trace_point *point = &panic_path->point[pos];long time;char buf[16 ]; -int i; +int i; -printk (" %c" , (point->flags &IPIPE_TFLG_HWIRQ_OFF ) ? -'|' :' ' ); +printk (" %c" , + (point->flags &IPIPE_TFLG_HWIRQ_OFF ) ?'|' :' ' ); -for (i =IPIPE_TFLG_DOMSTATE_BITS ; i >=0 ; i--) -printk ("%c" , - (IPIPE_TFLG_CURRENT_DOMAIN (point) == i) ? - (IPIPE_TFLG_DOMAIN_STALLED (point, i) ? -'#' :'+' ) : - (IPIPE_TFLG_DOMAIN_STALLED (point, i) ? -'*' :' ' )); +for (i =IPIPE_TFLG_DOMSTATE_BITS ; i >=0 ; i--) +printk ("%c" , + (IPIPE_TFLG_CURRENT_DOMAIN (point) == i) ? + (IPIPE_TFLG_DOMAIN_STALLED (point, i) ? +'#' :'+' ) : + (IPIPE_TFLG_DOMAIN_STALLED (point, i) ? +'*' :' ' ));if (!point->eip)printk ("-<invalid>-\n" );