diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-05-04 19:23:18 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-05-04 19:30:42 +0200 |
| commit | 1dce8d99b85aba6eddb8b8260baea944922e6fe7 (patch) | |
| tree | 77afc73743f8eb1c81b652418661b98b1f4b933d /include | |
| parent | 0d905bca23aca5c86a10ee101bcd3b1abbd40b25 (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
