]> git.karo-electronics.de Git - linux-beck.git/commit
xtensa: fix !CONFIG_XTENSA_CALIBRATE_CCOUNT build failure
authorBaruch Siach <baruch@tkos.co.il>
Mon, 15 Jul 2013 04:03:38 +0000 (07:03 +0300)
committerChris Zankel <chris@zankel.net>
Fri, 6 Sep 2013 16:48:51 +0000 (09:48 -0700)
commitfedc21dce814b500e2a9b3cc51f5f802d39e22e5
treec74999661656c2d74808cd49b800b7d5e5fc9bfe
parent123f15e669d5a5a2e2f260ba4a5fc2efd93df20e
xtensa: fix !CONFIG_XTENSA_CALIBRATE_CCOUNT build failure

Commits 925f5532 (xtensa: ccount based clockevent implementation) and e3f43291
(xtensa: ccount based sched_clock) introduced users of ccount_freq. This
variable doesn't exist when CONFIG_XTENSA_CALIBRATE_CCOUNT is disabled. Add
ccount_freq definition in this case.

Reported-by: Chen Gang <gang.chen@asianux.com>
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>
arch/xtensa/include/asm/timex.h
arch/xtensa/kernel/time.c