ftrace: replace raw_local_irq_save with local_irq_save
commitd51ad7ac48f991c4a8834485727efa99a691cb87
authorSteven Rostedt <srostedt@redhat.com>
Sat, 15 Nov 2008 20:48:29 +0000 (15 15:48 -0500)
committerIngo Molnar <mingo@elte.hu>
Sun, 16 Nov 2008 06:35:37 +0000 (16 07:35 +0100)
tree7491150df5bda0b3c04e5a7f1fafdb35f3aec5c4
parent918c115410c6cc57033835b6a401e57697f9ea4f
ftrace: replace raw_local_irq_save with local_irq_save

Impact: fix lockdep disabling itself when function tracing is enabled

The raw_local_irq_saves used in ftrace is causing problems with
lockdep. (it thinks the irq flags are out of sync and disables
itself with a warning)

The raw ops here are not needed, and the normal local_irq_save is fine.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c
kernel/trace/trace_selftest.c