projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: hpwdt depends on PCI
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
lockdep.c
diff --git
a/kernel/lockdep.c
b/kernel/lockdep.c
index 63437d065ac89d69bbc6e70fd3789e64ac7e1d6a..298c9276dfdb378877249384db860c3658485ef2 100644
(file)
--- a/
kernel/lockdep.c
+++ b/
kernel/lockdep.c
@@
-3426,7
+3426,7
@@
int lock_is_held(struct lockdep_map *lock)
int ret = 0;
if (unlikely(current->lockdep_recursion))
- return
ret;
+ return
1; /* avoid false negative lockdep_assert_held() */
raw_local_irq_save(flags);
check_flags(flags);