소스 검색

[PATCH] Need forward decl of task_struct in linux/debug_locks.h

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Kyle McMartin 18 년 전
부모
커밋
f86e45131f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      include/linux/debug_locks.h

+ 2 - 0
include/linux/debug_locks.h

@@ -43,6 +43,8 @@ extern int debug_locks_off(void);
 # define locking_selftest()	do { } while (0)
 #endif
 
+struct task_struct;
+
 #ifdef CONFIG_LOCKDEP
 extern void debug_show_all_locks(void);
 extern void debug_show_held_locks(struct task_struct *task);