Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19ae2d11 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

clocksource: arch_timer: Export arch_counter_get_cntvct()



get_cycles() on arm64 is defined to be arch_counter_get_cntvct().
Export this function to modules so that modules can use
get_cycles() appropriately.

Change-Id: I3e66af01cbd4f2631637ccfba94e1fe589625b4e
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 4712ce04
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -423,6 +423,7 @@ u64 arch_counter_get_cntvct(void)
{
	return arch_timer_read_counter();
}
EXPORT_SYMBOL(arch_counter_get_cntvct);

static struct clocksource clocksource_counter = {
	.name	= "arch_sys_counter",