From: James Hogan Date: Wed, 27 Feb 2013 14:05:53 +0000 (+0000) Subject: metag: perf: fix core internal / perf channel mux X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~101^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3424dabb6508d538e9ec1a2aa889fefbd83df2d0;p=pandora-kernel.git metag: perf: fix core internal / perf channel mux The value written to the PERF_ICOREx or PERF_CHANx register to select the performance events for the core internal and perf channel events was (tmp & 0x0f), but tmp was set to (config & 0xf0) so it would always be 0. Correct it to use config instead of tmp. Signed-off-by: James Hogan Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed