From: Russell King Date: Thu, 14 Jan 2010 22:37:12 +0000 (+0000) Subject: ARM: Realview/Versatile: remove useless TIMER_RELOAD calculations X-Git-Tag: v2.6.35-rc1~503^2~4^10~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe8e1a57f0ccdaede41618ca9ced7d746b6298d3;p=pandora-kernel.git ARM: Realview/Versatile: remove useless TIMER_RELOAD calculations Realview/Versatile copied the Integrator timer code, including the calculations for ensuring that the reload value fits into the 16-bit counter. However, these platforms have a 32-bit counter which is clocked at a slower rate. The result is that the preprocessor conditions are never triggered: TICKS_PER_uSEC = 1, mSEC_10 = 10000, which is 0x2710 - less than 0x10000. So, remove the unnecessary complexity, reducing the TIMER_RELOAD calculation to just: TICKS_PER_uSEC * mSEC_10 Signed-off-by: Russell King --- Reading git-diff-tree failed