diff options
author | Vince Weaver <[email protected]> | 2012-10-17 13:04:33 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-10-24 12:00:49 +0200 |
commit | 7d011962afbaa6e572cd8e0dbb7abf773e166e64 (patch) | |
tree | 67da56cc0572462dc0d0c27933c0e80348d0ca92 /net/unix/sysctl_net_unix.c | |
parent | ae5ba47a990a18c869d66916fd72fb334c45cf91 (diff) |
perf/x86: Remove cpuc->enable check on Intl KNC event enable/disable
x86_pmu.enable() is called from x86_pmu_enable() with
cpuc->enabled set to 0. This means we weren't re-enabling the
counters after a context switch.
This patch just removes the check, as it should't be necessary
(and the equivelent x86_ generic code does not have the checks).
The origin of this problem is the KNC driver being based on the
P6 one. The P6 driver also has this issue, but works anyway
due to various lucky accidents.
Signed-off-by: Vince Weaver <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: [email protected]
Cc: Meadows
Cc: Lawrence F <[email protected]>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1210171303290.23243@vincent-weaver-1.um.maine.edu
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions