mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user