summaryrefslogtreecommitdiffstats
path: root/drivers/char/mxser.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-05-12 21:20:44 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 20:39:17 +0200
commit5568b139f4d196273958ae2947a736fdf1ffeece (patch)
tree27b9b64c33b970e0d2608324bc615382953fb705 /drivers/char/mxser.h
parentf43fdad8627fec2d21df92799b254dceb66c9c3c (diff)
downloadop-kernel-dev-5568b139f4d196273958ae2947a736fdf1ffeece.zip
op-kernel-dev-5568b139f4d196273958ae2947a736fdf1ffeece.tar.gz
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>
Diffstat (limited to 'drivers/char/mxser.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud