James Hogan db59932f62 metag: perf: fixes for interrupting perf counters
The overflow handler needs to read modify write when re-enabling the
counter so as not to change the counter value as it may have been
changed to ready the next interrupt on overflow. Similarly for
interrupting counters metag_pmu_enable_counter needs to leave the
counter value unchanged rather than resetting it to zero.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2013-03-15 13:20:00 +00:00
..
2013-03-02 20:09:54 +00:00
2013-03-02 20:09:54 +00:00
2013-03-02 20:09:51 +00:00
2013-03-02 20:09:22 +00:00
2013-03-02 20:09:51 +00:00
2013-03-02 20:09:51 +00:00
2013-03-02 20:09:55 +00:00
2013-03-02 20:09:55 +00:00
2013-03-02 20:09:51 +00:00
2013-03-02 20:09:48 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:54 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:22 +00:00
2013-03-02 20:09:21 +00:00
2013-03-02 20:09:52 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:45 +00:00
2013-03-02 20:09:22 +00:00
2013-03-02 20:09:51 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:54 +00:00