perf_events, x86: Remove superflous MSR writes
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 10 Feb 2010 15:10:48 +0000 (16:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Feb 2010 09:56:54 +0000 (10:56 +0100)
commit6667661df4bc76083edf1e08831c20f64429709d
tree0fdae0f6209df3e1756f34b371ce9f0f7493f011
parent6e37738a2fac964583debe91099bc3248554f6e5
perf_events, x86: Remove superflous MSR writes

We re-program the event control register every time we reset the count,
this appears to be superflous, hence remove it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arjan van de Ven <arjan@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c