summaryrefslogtreecommitdiff
path: root/fs/generic_acl.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-01-15 01:37:12 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-02 12:35:34 +0400
commitfe8e1a57f0ccdaede41618ca9ced7d746b6298d3 (patch)
treec1056096717f28e5c8c8d59395ca0efff61ca539 /fs/generic_acl.c
parente388771458b4ff3ad81ab70e390b24d069647da4 (diff)
downloadlinux-fe8e1a57f0ccdaede41618ca9ced7d746b6298d3.tar.xz
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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions