diff options
Diffstat (limited to 'include/linux/debug_locks.h')
| -rw-r--r-- | include/linux/debug_locks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h index 1678a5de70..f4a5871767 100644 --- a/include/linux/debug_locks.h +++ b/include/linux/debug_locks.h | |||
| @@ -47,6 +47,7 @@ struct task_struct; | |||
| 47 | 47 | ||
| 48 | #ifdef CONFIG_LOCKDEP | 48 | #ifdef CONFIG_LOCKDEP |
| 49 | extern void debug_show_all_locks(void); | 49 | extern void debug_show_all_locks(void); |
| 50 | extern void __debug_show_held_locks(struct task_struct *task); | ||
| 50 | extern void debug_show_held_locks(struct task_struct *task); | 51 | extern void debug_show_held_locks(struct task_struct *task); |
| 51 | extern void debug_check_no_locks_freed(const void *from, unsigned long len); | 52 | extern void debug_check_no_locks_freed(const void *from, unsigned long len); |
| 52 | extern void debug_check_no_locks_held(struct task_struct *task); | 53 | extern void debug_check_no_locks_held(struct task_struct *task); |
| @@ -55,6 +56,10 @@ static inline void debug_show_all_locks(void) | |||
| 55 | { | 56 | { |
| 56 | } | 57 | } |
| 57 | 58 | ||
| 59 | static inline void __debug_show_held_locks(struct task_struct *task) | ||
| 60 | { | ||
| 61 | } | ||
| 62 | |||
| 58 | static inline void debug_show_held_locks(struct task_struct *task) | 63 | static inline void debug_show_held_locks(struct task_struct *task) |
| 59 | { | 64 | { |
| 60 | } | 65 | } |
