From: Jean PIHET Date: Tue, 15 Dec 2009 11:36:10 +0000 (+0100) Subject: ARM: 5849/1: ARMv7: fix Oprofile events count X-Git-Tag: v2.6.33-rc2~5^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3321c2bceab3ae6efdb2dc119c41d78e85d4b661;p=pandora-kernel.git ARM: 5849/1: ARMv7: fix Oprofile events count On Oprofile ARMv7 the PMNC_D bit was set to lower the PMU IRQs and so to decrease the risk of errata #628216 from appearing. The effect of setting the PMNC_D bit is that the CCNT counter is divided by 64, making the program counter events count inaccurate. The new OMAP3 r4 cores should have that errata fixed. The PMNC_D bit should not be set, this patch fixes it. Signed-off-by: Jean Pihet Signed-off-by: Russell King --- Reading git-diff-tree failed