diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-06-17 04:29:43 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-07-08 04:11:37 -0400 |
commit | e504c4b6076d9ec1caccaac65803fe3fc29afec8 (patch) | |
tree | 9a068eafb50e22b431cdc2d02590c7a92ae36d70 /arch/xtensa/variants | |
parent | ed9dfed62c6c057c1c51295d4373ae55c9284a10 (diff) |
xtensa: cleanup ccount frequency tracking
Remove unused nsec_per_ccount, and rename ccount_per_jiffy to ccount_preq.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/variants')
-rw-r--r-- | arch/xtensa/variants/s6000/delay.c | 3 |
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 | } |