aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-05-04 19:23:18 +0200
committerIngo Molnar <mingo@elte.hu>2009-05-04 19:30:42 +0200
commit1dce8d99b85aba6eddb8b8260baea944922e6fe7 (patch)
tree77afc73743f8eb1c81b652418661b98b1f4b933d /include
parent0d905bca23aca5c86a10ee101bcd3b1abbd40b25 (diff)
perf_counter: convert perf_resource_mutex to a spinlock
Now percpu counters can be initialized very early. But the init sequence uses mutex_lock(). Fortunately, perf_resource_mutex should be a spinlock anyway, so convert it. [ Impact: fix crash due to early init mutex use ] LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions