summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platforms
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/platforms
parented9dfed62c6c057c1c51295d4373ae55c9284a10 (diff)
downloadlinux-e504c4b6076d9ec1caccaac65803fe3fc29afec8.tar.bz2
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/platforms')
-rw-r--r--arch/xtensa/platforms/xtfpga/setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c
index c7ce62ff73f7..74bb74fa3f87 100644
--- a/arch/xtensa/platforms/xtfpga/setup.c
+++ b/arch/xtensa/platforms/xtfpga/setup.c
@@ -179,8 +179,7 @@ void __init platform_calibrate_ccount(void)
if (!clk_freq)
clk_freq = *(long *)XTFPGA_CLKFRQ_VADDR;
- ccount_per_jiffy = clk_freq / HZ;
- nsec_per_ccount = 1000000000UL / clk_freq;
+ ccount_freq = clk_freq;
}
#endif