mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 09:56:00 +00:00
xtensa: xtfpga: fix section mismatch
platform_calibrate_ccount() calls update_clock_frequency() which is in .init section. However, platform_calibrate_ccount() itself is only called from .init (i.e., time_init()). 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>
This commit is contained in:
parent
214fe80fcb
commit
54c0af9f1a
@ -163,7 +163,7 @@ void platform_heartbeat(void)
|
|||||||
|
|
||||||
#ifdef CONFIG_XTENSA_CALIBRATE_CCOUNT
|
#ifdef CONFIG_XTENSA_CALIBRATE_CCOUNT
|
||||||
|
|
||||||
void platform_calibrate_ccount(void)
|
void __init platform_calibrate_ccount(void)
|
||||||
{
|
{
|
||||||
long clk_freq = 0;
|
long clk_freq = 0;
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
|
Loading…
Reference in New Issue
Block a user