diff options
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r-- | include/linux/init_task.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 219748d00262..ca226a91abee 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -124,6 +124,8 @@ extern struct cred init_cred; | |||
124 | # define INIT_PERF_COUNTERS(tsk) \ | 124 | # define INIT_PERF_COUNTERS(tsk) \ |
125 | .perf_counter_ctx.counter_list = \ | 125 | .perf_counter_ctx.counter_list = \ |
126 | LIST_HEAD_INIT(tsk.perf_counter_ctx.counter_list), \ | 126 | LIST_HEAD_INIT(tsk.perf_counter_ctx.counter_list), \ |
127 | .perf_counter_ctx.event_list = \ | ||
128 | LIST_HEAD_INIT(tsk.perf_counter_ctx.event_list), \ | ||
127 | .perf_counter_ctx.lock = \ | 129 | .perf_counter_ctx.lock = \ |
128 | __SPIN_LOCK_UNLOCKED(tsk.perf_counter_ctx.lock), | 130 | __SPIN_LOCK_UNLOCKED(tsk.perf_counter_ctx.lock), |
129 | #else | 131 | #else |