From: Peter Zijlstra Date: Wed, 13 May 2009 08:02:57 +0000 (+0200) Subject: perf_counter: x86: Allow unpriviliged use of NMIs X-Git-Tag: v2.6.31-rc1~383^2~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a026dfecc035f213c1cfa0bf6407ce3155f6a9df;p=pandora-kernel.git perf_counter: x86: Allow unpriviliged use of NMIs 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 Cc: Paul Mackerras Cc: Corey Ashford LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed