summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/platform.c
diff options
context:
space:
mode:
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 da827cb..1cf0082 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
OpenPOWER on IntegriCloud