aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-orion.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2020-11-25 10:23:45 +0000
committerDaniel Lezcano <[email protected]>2020-12-03 18:16:26 +0000
commit5bd7cb29eceb52e4b108917786fdbf2a2c2048ef (patch)
tree8b0fcab8db211d9c4f4a83a641bdadd7c3be6795 /drivers/clocksource/timer-orion.c
parentclocksource/drivers/cadence_ttc: Fix memory leak in ttc_setup_clockevent() (diff)
downloadkernel-5bd7cb29eceb52e4b108917786fdbf2a2c2048ef.tar.gz
kernel-5bd7cb29eceb52e4b108917786fdbf2a2c2048ef.zip
clocksource/drivers/ingenic: Fix section mismatch
The function ingenic_tcu_get_clock() is annotated for the __init section but it is actually called from the online cpu callback. That will lead to a crash if a CPU is hotplugged after boot time. Remove the __init annotation for the ingenic_tcu_get_clock() function. Fixes: f19d838d08fc (clocksource/drivers/ingenic: Add high resolution timer support for SMP/SMT) Reported-by: kernel test robot <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Reviewed-by: Paul Cercueil <[email protected]> Tested-by: 周琰杰 (Zhou Yanjie) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/clocksource/timer-orion.c')
0 files changed, 0 insertions, 0 deletions