projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef6cbf
)
perfcounters: fix init context lock
author
Ingo Molnar
<mingo@elte.hu>
Sun, 21 Dec 2008 14:07:49 +0000
(15:07 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 23 Dec 2008 11:45:18 +0000
(12:45 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/init_task.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/init_task.h
b/include/linux/init_task.h
index 54fa2fa2c8e4bc87a19794417a43e28b2c3fcdea..467cff545c3085c7a961dbb6365ddb9667819d2d 100644
(file)
--- a/
include/linux/init_task.h
+++ b/
include/linux/init_task.h
@@
-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