diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-07-15 08:24:22 +0300 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-09-06 09:48:59 -0700 |
commit | 8d5e1d8e62e87cd9eaecb4956261cce4320240fd (patch) | |
tree | 1523cdefb923b471b675570028674e112d9efa2c /arch/xtensa/kernel/setup.c | |
parent | fedc21dce814b500e2a9b3cc51f5f802d39e22e5 (diff) |
xtensa: remove CCOUNT_PER_JIFFY
Use ccount_freq directly to make the code a little more readable.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel/setup.c')
-rw-r--r-- | arch/xtensa/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c index 42a8bba0b0ea..4a8f027ed9ae 100644 --- a/arch/xtensa/kernel/setup.c +++ b/arch/xtensa/kernel/setup.c @@ -585,8 +585,8 @@ c_show(struct seq_file *f, void *slot) "bogomips\t: %lu.%02lu\n", XCHAL_BUILD_UNIQUE_ID, XCHAL_HAVE_BE ? "big" : "little", - CCOUNT_PER_JIFFY/(1000000/HZ), - (CCOUNT_PER_JIFFY/(10000/HZ)) % 100, + ccount_freq/1000000, + (ccount_freq/10000) % 100, loops_per_jiffy/(500000/HZ), (loops_per_jiffy/(5000/HZ)) % 100); |