summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/platform.c
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/kernel/platform.c
parented9dfed62c6c057c1c51295d4373ae55c9284a10 (diff)
downloadlinux-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/kernel/platform.c')
-rw-r--r--arch/xtensa/kernel/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/platform.c b/arch/xtensa/kernel/platform.c
index da827cbb2f59..1cf008284dd2 100644
--- a/arch/xtensa/kernel/platform.c
+++ b/arch/xtensa/kernel/platform.c
@@ -41,6 +41,6 @@ _F(void, pcibios_init, (void), { });
_F(void, calibrate_ccount, (void),
{
pr_err("ERROR: Cannot calibrate cpu frequency! Assuming 10MHz.\n");
- ccount_per_jiffy = 10 * (1000000UL/HZ);
+ ccount_freq = 10 * 1000000UL;
});
#endif