diff options
Diffstat (limited to 'kernel/locking/lockdep.c')
-rw-r--r-- | kernel/locking/lockdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index be4c1348ddcd..8169706df767 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c | |||
@@ -4096,7 +4096,7 @@ static int __lock_downgrade(struct lockdep_map *lock, unsigned long ip) | |||
4096 | * @nested is an hysterical artifact, needs a tree wide cleanup. | 4096 | * @nested is an hysterical artifact, needs a tree wide cleanup. |
4097 | */ | 4097 | */ |
4098 | static int | 4098 | static int |
4099 | __lock_release(struct lockdep_map *lock, int nested, unsigned long ip) | 4099 | __lock_release(struct lockdep_map *lock, unsigned long ip) |
4100 | { | 4100 | { |
4101 | struct task_struct *curr = current; | 4101 | struct task_struct *curr = current; |
4102 | struct held_lock *hlock; | 4102 | struct held_lock *hlock; |
@@ -4384,7 +4384,7 @@ void lock_release(struct lockdep_map *lock, int nested, | |||
4384 | check_flags(flags); | 4384 | check_flags(flags); |
4385 | current->lockdep_recursion = 1; | 4385 | current->lockdep_recursion = 1; |
4386 | trace_lock_release(lock, ip); | 4386 | trace_lock_release(lock, ip); |
4387 | if (__lock_release(lock, nested, ip)) | 4387 | if (__lock_release(lock, ip)) |
4388 | check_chain_key(current); | 4388 | check_chain_key(current); |
4389 | current->lockdep_recursion = 0; | 4389 | current->lockdep_recursion = 0; |
4390 | raw_local_irq_restore(flags); | 4390 | raw_local_irq_restore(flags); |