[PATCH v1 1/2] kernel: time: export sched_clock_register function
From: Freddy Hsin
Date: Tue Jul 28 2020 - 06:16:34 EST
export sched_clock_register function, because the Mediatek timer
loadable module depends on this function
Signed-off-by: Freddy Hsin <freddy.hsin@xxxxxxxxxxxx>
---
kernel/time/sched_clock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c
index fa3f800..e1d5afe 100644
--- a/kernel/time/sched_clock.c
+++ b/kernel/time/sched_clock.c
@@ -239,6 +239,7 @@ static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt)
pr_debug("Registered %pS as sched_clock source\n", read);
}
+EXPORT_SYMBOL(sched_clock_register);
void __init generic_sched_clock_init(void)
{
--
1.7.9.5