perf_counter: Remove perf_counter_context::nr_enabled
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sat, 23 May 2009 16:29:01 +0000 (18:29 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 24 May 2009 06:24:30 +0000 (08:24 +0200)
commit475c55797323b67435083f6e2eb8ee670f6410ec
tree2aad9762396b01ccf92581489e70bd3689246f19
parent082ff5a2767a0679ee543f14883adbafb631ffbe
perf_counter: Remove perf_counter_context::nr_enabled

now that pctrl() no longer disables other people's counters,
remove the PMU cache code that deals with that.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <20090523163013.032998331@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c