perf_counter: fix print debug irq disable
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 13 May 2009 06:12:51 +0000 (08:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 May 2009 06:17:37 +0000 (08:17 +0200)
commit5bb9efe33ea4001a17ab98186a40a134a3061d67
treeecb30329fd190d6db4b8e9c08d42a8d2e6c1e54d
parente758a33d6fc5b9d6a3ae489863d04fcecad8120b
perf_counter: fix print debug irq disable

inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage.
bash/15802 [HC0[0]:SC0[0]:HE1:SE1] takes:
 (sysrq_key_table_lock){?.....},

Don't unconditionally enable interrupts in the perf_counter_print_debug()
path.

[ Impact: fix potential deadlock pointed out by lockdep ]

LKML-Reference: <new-submission>
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
arch/x86/kernel/cpu/perf_counter.c
This page took 0.026687 seconds and 5 git commands to generate.