* Peter Zijlstra <pet...@infradead.org> wrote: > > @@ -39,8 +39,8 @@ notrace unsigned int debug_smp_processor > > if (!printk_ratelimit()) > > goto out_enable; > > > > - printk(KERN_ERR "BUG: using smp_processor_id() in preemptible [%08x] " > > - "code: %s/%d\n", > > + printk(KERN_ERR "%s in preemptible [%08x] " > > + "code: %s/%d\n", what, > > preempt_count() - 1, current->comm, current->pid); > > I would argue for keeping the "BUG" string intact and in front of the > %s.
Definitely. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/