projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa7191
)
lockdep: Stub task_struct::state
author
Ben Hutchings
<ben@decadent.org.uk>
Tue, 3 Jul 2018 05:19:07 +0000
(06:19 +0100)
committer
Ben Hutchings
<ben@decadent.org.uk>
Fri, 23 Nov 2018 19:15:55 +0000
(19:15 +0000)
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name lockdep-stub-task_struct-state.patch
tools/include/linux/lockdep.h
patch
|
blob
|
history
diff --git
a/tools/include/linux/lockdep.h
b/tools/include/linux/lockdep.h
index 6b0c36a58fcbc38b67157b53efe2044bd848f137..8e84609afb044174551a0df731e5050cdb6c7440 100644
(file)
--- a/
tools/include/linux/lockdep.h
+++ b/
tools/include/linux/lockdep.h
@@
-31,12
+31,16
@@
struct task_struct {
gfp_t lockdep_reclaim_gfp;
int pid;
char comm[17];
+ long state;
};
extern struct task_struct *__curr(void);
#define current (__curr())
+/* lockdep checks task_struct::state == TASK_RUNNING */
+#define TASK_RUNNING 0
+
static inline int debug_locks_off(void)
{
return 1;