* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote: > > @@ -34,6 +34,7 @@ mctracer_add_trace_entry(struct mctracer > > { > > unsigned long idx, idx_next; > > struct mctracer_entry *entry; > > + struct task_struct *tsk = current; > > Aren't there situations, like in the middle of a context switch, where > current is not valid ? Is also poses a problem for early boot, and NMI > tracing. no such problems on x86. Ingo - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html