Steven Rostedt 5568b139f4 ftrace: debug smp_processor_id, use notrace preempt disable
The debug smp_processor_id caused a recursive fault in debugging
the irqsoff tracer. The tracer used a smp_processor_id in the
ftrace callback, and this function called preempt_disable which
also is traced. This caused a recursive fault (stack overload).

Since using smp_processor_id without debugging on does not cause
faults with the tracer (even when the tracer is wrong), the
debug version should not cause a system reboot.

This changes the debug_smp_processor_id to use the notrace versions
of preempt_disable and enable.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-23 20:39:17 +02:00
..
2008-04-10 15:34:05 -07:00
2008-02-03 17:48:52 +02:00
2008-02-03 17:48:52 +02:00
2008-05-01 08:03:58 -07:00
2008-04-29 08:11:16 -07:00
2008-05-14 19:11:14 -07:00
2007-10-19 11:53:41 -07:00
2008-05-01 08:04:00 -07:00
2008-01-24 20:40:05 -08:00
2008-05-18 23:35:43 -05:00
2008-04-28 08:58:17 -07:00
2008-01-30 13:33:00 +01:00