locking: rename trace_softirq_[enter|exit] => lockdep_softirq_[enter|exit]
Impact: cleanup The naming clashes with upcoming softirq tracepoints, so rename the APIs to lockdep_*(). Requested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -157,11 +157,11 @@ static void init_shared_classes(void)
|
||||
#define SOFTIRQ_ENTER() \
|
||||
local_bh_disable(); \
|
||||
local_irq_disable(); \
|
||||
trace_softirq_enter(); \
|
||||
lockdep_softirq_enter(); \
|
||||
WARN_ON(!in_softirq());
|
||||
|
||||
#define SOFTIRQ_EXIT() \
|
||||
trace_softirq_exit(); \
|
||||
lockdep_softirq_exit(); \
|
||||
local_irq_enable(); \
|
||||
local_bh_enable();
|
||||
|
||||
|
Reference in New Issue
Block a user