summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx27/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx27/time.c')
-rw-r--r--arch/arm/mach-mx27/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx27/time.c b/arch/arm/mach-mx27/time.c
index a8af7ccc55ef..97c56e18ec64 100644
--- a/arch/arm/mach-mx27/time.c
+++ b/arch/arm/mach-mx27/time.c
@@ -192,6 +192,7 @@ void __init mxc_init_time(void)
#ifdef CLOCK_TICK_RATE
div = rate / CLOCK_TICK_RATE;
WARN_ON((div * CLOCK_TICK_RATE) != rate);
+ rate /= div;
#else /* Hopefully CLOCK_TICK_RATE will go away soon */
div = 1;
while (rate > 20000000) {