Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78b6084c authored by Ingo Molnar's avatar Ingo Molnar
Browse files

perfcounters: fix init context lock



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent eef6cbf5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -116,7 +116,9 @@ extern struct group_info init_groups;
#ifdef CONFIG_PERF_COUNTERS
# define INIT_PERF_COUNTERS(tsk)					\
	.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.lock =					\
		__SPIN_LOCK_UNLOCKED(tsk.perf_counter_ctx.lock),
#else
# define INIT_PERF_COUNTERS(tsk)
#endif