diff options
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r-- | include/linux/init_task.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 503afaa0afa7..d87247d2641f 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -108,18 +108,6 @@ extern struct group_info init_groups; | |||
108 | 108 | ||
109 | extern struct cred init_cred; | 109 | extern struct cred init_cred; |
110 | 110 | ||
111 | #ifdef CONFIG_PERF_COUNTERS | ||
112 | # define INIT_PERF_COUNTERS(tsk) \ | ||
113 | .perf_counter_ctx.counter_list = \ | ||
114 | LIST_HEAD_INIT(tsk.perf_counter_ctx.counter_list), \ | ||
115 | .perf_counter_ctx.event_list = \ | ||
116 | LIST_HEAD_INIT(tsk.perf_counter_ctx.event_list), \ | ||
117 | .perf_counter_ctx.lock = \ | ||
118 | __SPIN_LOCK_UNLOCKED(tsk.perf_counter_ctx.lock), | ||
119 | #else | ||
120 | # define INIT_PERF_COUNTERS(tsk) | ||
121 | #endif | ||
122 | |||
123 | /* | 111 | /* |
124 | * INIT_TASK is used to set up the first task table, touch at | 112 | * INIT_TASK is used to set up the first task table, touch at |
125 | * your own risk!. Base=0, limit=0x1fffff (=2MB) | 113 | * your own risk!. Base=0, limit=0x1fffff (=2MB) |
@@ -183,7 +171,6 @@ extern struct cred init_cred; | |||
183 | }, \ | 171 | }, \ |
184 | .dirties = INIT_PROP_LOCAL_SINGLE(dirties), \ | 172 | .dirties = INIT_PROP_LOCAL_SINGLE(dirties), \ |
185 | INIT_IDS \ | 173 | INIT_IDS \ |
186 | INIT_PERF_COUNTERS(tsk) \ | ||
187 | INIT_TRACE_IRQFLAGS \ | 174 | INIT_TRACE_IRQFLAGS \ |
188 | INIT_LOCKDEP \ | 175 | INIT_LOCKDEP \ |
189 | INIT_FTRACE_GRAPH \ | 176 | INIT_FTRACE_GRAPH \ |