perf_counter: x86: Allow unpriviliged use of NMIs
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 13 May 2009 08:02:57 +0000 (10:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 May 2009 07:46:57 +0000 (09:46 +0200)
Apply sysctl_perf_counter_priv to NMIs. Also, fail the counter
creation instead of silently down-grading to regular interrupts.

[ Impact: allow wider perf-counter usage ]

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found