lockdep: Rename trace_softirqs_{on,off}()

Continue what commit:

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

started, rename these to avoid confusing them with tracepoints.

git grep -l "trace_softirqs_\(on\|off\)" | while read file;
do
	sed -ie 's/trace_softirqs_\(on\|off\)/lockdep_softirqs_\1/g' $file;
done

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
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.119434738@infradead.org
This commit is contained in:
Peter Zijlstra
2020-03-20 12:56:41 +01:00
committed by Thomas Gleixner
parent 2502ec37a7
commit 0d38453c85
3 changed files with 10 additions and 10 deletions

View File

@@ -3468,7 +3468,7 @@ NOKPROBE_SYMBOL(lockdep_hardirqs_off);
/*
* Softirqs will be enabled:
*/
void trace_softirqs_on(unsigned long ip)
void lockdep_softirqs_on(unsigned long ip)
{
struct task_struct *curr = current;
@@ -3508,7 +3508,7 @@ void trace_softirqs_on(unsigned long ip)
/*
* Softirqs were disabled:
*/
void trace_softirqs_off(unsigned long ip)
void lockdep_softirqs_off(unsigned long ip)
{
struct task_struct *curr = current;