summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/variants
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-06-17 11:29:43 +0300
committerChris Zankel <chris@zankel.net>2013-07-08 01:11:37 -0700
commite504c4b6076d9ec1caccaac65803fe3fc29afec8 (patch)
tree9a068eafb50e22b431cdc2d02590c7a92ae36d70 /arch/xtensa/variants
parented9dfed62c6c057c1c51295d4373ae55c9284a10 (diff)
downloadop-kernel-dev-e504c4b6076d9ec1caccaac65803fe3fc29afec8.zip
op-kernel-dev-e504c4b6076d9ec1caccaac65803fe3fc29afec8.tar.gz
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.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 54b2b57..baefd3a 100644
--- a/arch/xtensa/variants/s6000/delay.c
+++ b/arch/xtensa/variants/s6000/delay.c
@@ -22,6 +22,5 @@ void platform_calibrate_ccount(void)
a = b;
} while (--i >= 0);
b -= a;
- nsec_per_ccount = (LOOPS * 10000) / b;
- ccount_per_jiffy = b * (100000UL / (LOOPS * HZ));
+ ccount_freq = b * (100000UL / LOOPS);
}
OpenPOWER on IntegriCloud