summaryrefslogtreecommitdiff
path: root/pfinet/linux-src/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/linux-src/include/linux/sched.h')
-rw-r--r--pfinet/linux-src/include/linux/sched.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/pfinet/linux-src/include/linux/sched.h b/pfinet/linux-src/include/linux/sched.h
index 5ef85c63..4a5ffd58 100644
--- a/pfinet/linux-src/include/linux/sched.h
+++ b/pfinet/linux-src/include/linux/sched.h
@@ -97,10 +97,6 @@ struct sched_param {
int sched_priority;
};
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
#ifdef __KERNEL__
#include <asm/spinlock.h>
@@ -328,6 +324,10 @@ struct task_struct {
struct signal_queue *sigqueue, **sigqueue_tail;
unsigned long sas_ss_sp;
size_t sas_ss_size;
+
+/* Thread group tracking */
+ u32 parent_exec_id;
+ u32 self_exec_id;
};
/*
@@ -394,6 +394,7 @@ struct task_struct {
/* files */ &init_files, \
/* mm */ &init_mm, \
/* signals */ SPIN_LOCK_UNLOCKED, &init_signals, {{0}}, {{0}}, NULL, &init_task.sigqueue, 0, 0, \
+/* exec cts */ 0,0, \
}
union task_union {