perf: Fix bogus kernel printk
authorPeter Zijlstra (Intel) <[email protected]>
Tue, 7 Oct 2014 17:07:33 +0000 (19:07 +0200)
committerIngo Molnar <[email protected]>
Tue, 28 Oct 2014 09:51:01 +0000 (10:51 +0100)
commit65d71fe1375b973083733294795bf2b09d45b3c2
treeabeb6c1b8624a10b3901adc199e95cf25f25c4f8
parente53f6124af6516cee3063a3072767ee2717ff343
perf: Fix bogus kernel printk

Andy spotted the fail in what was intended as a conditional printk level.

Reported-by: Andy Lutomirski <[email protected]>
Fixes: cc6cd47e7395 ("perf/x86: Tone down kernel messages when the PMU check fails in a virtual environment")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event.c