|
@@ -30,9 +30,12 @@ struct task_struct {
|
|
struct held_lock held_locks[MAX_LOCK_DEPTH];
|
|
struct held_lock held_locks[MAX_LOCK_DEPTH];
|
|
gfp_t lockdep_reclaim_gfp;
|
|
gfp_t lockdep_reclaim_gfp;
|
|
int pid;
|
|
int pid;
|
|
|
|
+ int state;
|
|
char comm[17];
|
|
char comm[17];
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+#define TASK_RUNNING 0
|
|
|
|
+
|
|
extern struct task_struct *__curr(void);
|
|
extern struct task_struct *__curr(void);
|
|
|
|
|
|
#define current (__curr())
|
|
#define current (__curr())
|