]> git.karo-electronics.de Git - mv-sheeva.git/commit
perf_counter: Fix ctx->mutex vs counter->mutex inversion
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 15 Jun 2009 13:05:12 +0000 (15:05 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Jun 2009 13:57:49 +0000 (15:57 +0200)
commit75f937f24bd9c003dcb9d7d5509f23459f1f6000
tree859d5ebe9b47b952d13873d7a2a580012682aeb0
parent613d8602292165f86ba1969784fea01a06d55900
perf_counter: Fix ctx->mutex vs counter->mutex inversion

Simon triggered a lockdep inversion report about us taking ctx->mutex
vs counter->mutex in inverse orders. Fix that up.

Reported-by: Simon Holm Thøgersen <odie@cs.aau.dk>
Tested-by: Simon Holm Thøgersen <odie@cs.aau.dk>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c