diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/init_task.h | 3 | ||||
-rw-r--r-- | include/linux/pid.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 243e287304d0..5ac5945696a0 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -94,9 +94,6 @@ extern struct group_info init_groups; | |||
94 | 94 | ||
95 | #define INIT_STRUCT_PID { \ | 95 | #define INIT_STRUCT_PID { \ |
96 | .count = ATOMIC_INIT(1), \ | 96 | .count = ATOMIC_INIT(1), \ |
97 | .nr = 0, \ | ||
98 | /* Don't put this struct pid in pid_hash */ \ | ||
99 | .pid_chain = { .next = NULL, .pprev = NULL }, \ | ||
100 | .tasks = { \ | 97 | .tasks = { \ |
101 | { .first = &init_task.pids[PIDTYPE_PID].node }, \ | 98 | { .first = &init_task.pids[PIDTYPE_PID].node }, \ |
102 | { .first = &init_task.pids[PIDTYPE_PGID].node }, \ | 99 | { .first = &init_task.pids[PIDTYPE_PGID].node }, \ |
diff --git a/include/linux/pid.h b/include/linux/pid.h index 16644cceb946..4817c6671e77 100644 --- a/include/linux/pid.h +++ b/include/linux/pid.h | |||
@@ -57,9 +57,6 @@ struct upid { | |||
57 | struct pid | 57 | struct pid |
58 | { | 58 | { |
59 | atomic_t count; | 59 | atomic_t count; |
60 | /* Try to keep pid_chain in the same cacheline as nr for find_pid */ | ||
61 | int nr; | ||
62 | struct hlist_node pid_chain; | ||
63 | /* lists of tasks that use this pid */ | 60 | /* lists of tasks that use this pid */ |
64 | struct hlist_head tasks[PIDTYPE_MAX]; | 61 | struct hlist_head tasks[PIDTYPE_MAX]; |
65 | struct rcu_head rcu; | 62 | struct rcu_head rcu; |