From: James Hogan Date: Wed, 27 Feb 2013 21:54:51 +0000 (+0000) Subject: metag: perf: don't reset TXTACTCYC X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~101^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fb4dc5c39af941d3abc597337e0ea776bfce0f2;p=pandora-kernel.git metag: perf: don't reset TXTACTCYC The thread active cycle counter TXTACTCYC is used in __delay so it shouldn't really be reset to zero by perf. Fix perf to just read the value, and instead of clearing it, record the prev_count value in enable_counter so that the delta calculations know about the previous value. Signed-off-by: James Hogan Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed