X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fdebug_locks.h;h=f4a5871767f534ef6b8a2a950c70372ef7c27ca7;hb=d67c6f869c0a7f275689855161c93d714197e052;hp=1678a5de7013a91f08f3f352a773ff90166240f1;hpb=9cdf083f981b8d37b3212400a359368661385099;p=linux-2.6 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; #ifdef CONFIG_LOCKDEP extern void debug_show_all_locks(void); +extern void __debug_show_held_locks(struct task_struct *task); extern void debug_show_held_locks(struct task_struct *task); extern void debug_check_no_locks_freed(const void *from, unsigned long len); extern void debug_check_no_locks_held(struct task_struct *task); @@ -55,6 +56,10 @@ static inline void debug_show_all_locks(void) { } +static inline void __debug_show_held_locks(struct task_struct *task) +{ +} + static inline void debug_show_held_locks(struct task_struct *task) { }