|
@@ -1265,11 +1265,11 @@ unsigned long lockdep_count_forward_deps(struct lock_class *class)
|
|
|
this.parent = NULL;
|
|
|
this.class = class;
|
|
|
|
|
|
- local_irq_save(flags);
|
|
|
+ raw_local_irq_save(flags);
|
|
|
arch_spin_lock(&lockdep_lock);
|
|
|
ret = __lockdep_count_forward_deps(&this);
|
|
|
arch_spin_unlock(&lockdep_lock);
|
|
|
- local_irq_restore(flags);
|
|
|
+ raw_local_irq_restore(flags);
|
|
|
|
|
|
return ret;
|
|
|
}
|
|
@@ -1292,11 +1292,11 @@ unsigned long lockdep_count_backward_deps(struct lock_class *class)
|
|
|
this.parent = NULL;
|
|
|
this.class = class;
|
|
|
|
|
|
- local_irq_save(flags);
|
|
|
+ raw_local_irq_save(flags);
|
|
|
arch_spin_lock(&lockdep_lock);
|
|
|
ret = __lockdep_count_backward_deps(&this);
|
|
|
arch_spin_unlock(&lockdep_lock);
|
|
|
- local_irq_restore(flags);
|
|
|
+ raw_local_irq_restore(flags);
|
|
|
|
|
|
return ret;
|
|
|
}
|
|
@@ -4411,7 +4411,7 @@ void debug_check_no_locks_freed(const void *mem_from, unsigned long mem_len)
|
|
|
if (unlikely(!debug_locks))
|
|
|
return;
|
|
|
|
|
|
- local_irq_save(flags);
|
|
|
+ raw_local_irq_save(flags);
|
|
|
for (i = 0; i < curr->lockdep_depth; i++) {
|
|
|
hlock = curr->held_locks + i;
|
|
|
|
|
@@ -4422,7 +4422,7 @@ void debug_check_no_locks_freed(const void *mem_from, unsigned long mem_len)
|
|
|
print_freed_lock_bug(curr, mem_from, mem_from + mem_len, hlock);
|
|
|
break;
|
|
|
}
|
|
|
- local_irq_restore(flags);
|
|
|
+ raw_local_irq_restore(flags);
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(debug_check_no_locks_freed);
|
|
|
|