diff options
author | 2013-06-17 11:29:43 +0300 | |
---|---|---|
committer | 2013-07-08 01:11:37 -0700 | |
commit | e504c4b6076d9ec1caccaac65803fe3fc29afec8 (patch) | |
tree | 9a068eafb50e22b431cdc2d02590c7a92ae36d70 /arch/xtensa/platforms | |
parent | xtensa: timex.h: remove unused symbols (diff) | |
download | linux-e504c4b6076d9ec1caccaac65803fe3fc29afec8.tar.gz linux-e504c4b6076d9ec1caccaac65803fe3fc29afec8.tar.bz2 linux-e504c4b6076d9ec1caccaac65803fe3fc29afec8.zip |
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.c | 3 |
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 |