|
@@ -124,6 +124,8 @@ extern struct cred init_cred;
|
|
# define INIT_PERF_COUNTERS(tsk) \
|
|
# define INIT_PERF_COUNTERS(tsk) \
|
|
.perf_counter_ctx.counter_list = \
|
|
.perf_counter_ctx.counter_list = \
|
|
LIST_HEAD_INIT(tsk.perf_counter_ctx.counter_list), \
|
|
LIST_HEAD_INIT(tsk.perf_counter_ctx.counter_list), \
|
|
|
|
+ .perf_counter_ctx.event_list = \
|
|
|
|
+ LIST_HEAD_INIT(tsk.perf_counter_ctx.event_list), \
|
|
.perf_counter_ctx.lock = \
|
|
.perf_counter_ctx.lock = \
|
|
__SPIN_LOCK_UNLOCKED(tsk.perf_counter_ctx.lock),
|
|
__SPIN_LOCK_UNLOCKED(tsk.perf_counter_ctx.lock),
|
|
#else
|
|
#else
|