aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/variants/s6000/delay.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/variants/s6000/delay.c')
-rw-r--r--arch/xtensa/variants/s6000/delay.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/variants/s6000/delay.c b/arch/xtensa/variants/s6000/delay.c
index 54b2b573f166..baefd3a3c2aa 100644
--- a/arch/xtensa/variants/s6000/delay.c
+++ b/arch/xtensa/variants/s6000/delay.c
@@ -22,6 +22,5 @@ void platform_calibrate_ccount(void)
22 a = b; 22 a = b;
23 } while (--i >= 0); 23 } while (--i >= 0);
24 b -= a; 24 b -= a;
25 nsec_per_ccount = (LOOPS * 10000) / b; 25 ccount_freq = b * (100000UL / LOOPS);
26 ccount_per_jiffy = b * (100000UL / (LOOPS * HZ));
27} 26}