lockdep: Rename trace_hardirq_{enter,exit}()

Continue what commit:

  d820ac4c2f ("locking: rename trace_softirq_[enter|exit] => lockdep_softirq_[enter|exit]")

started, rename these to avoid confusing them with tracepoints.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lkml.kernel.org/r/20200320115859.060481361@infradead.org
This commit is contained in:
Thomas Gleixner
2020-03-20 12:56:40 +01:00
parent 46db36abc3
commit 2502ec37a7
4 changed files with 14 additions and 13 deletions

View File

@@ -226,7 +226,7 @@ static inline bool lockdep_softirq_start(void)
if (trace_hardirq_context(current)) {
in_hardirq = true;
trace_hardirq_exit();
lockdep_hardirq_exit();
}
lockdep_softirq_enter();
@@ -239,7 +239,7 @@ static inline void lockdep_softirq_end(bool in_hardirq)
lockdep_softirq_exit();
if (in_hardirq)
trace_hardirq_enter();
lockdep_hardirq_enter();
}
#else
static inline bool lockdep_softirq_start(void) { return false; }
@@ -414,7 +414,8 @@ void irq_exit(void)
tick_irq_exit();
rcu_irq_exit();
trace_hardirq_exit(); /* must be last! */
/* must be last! */
lockdep_hardirq_exit();
}
/*