Skip to content

Commit 30aa08d

Browse files
Marc Zyngierdlezcano
authored andcommitted
clocksource/drivers/arm_arch_timer: Advertise 56bit timer to the core code
Proudly tell the code code that we have a timer able to handle 56 bits deltas. Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 8b82c4f commit 30aa08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clocksource/arm_arch_timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ static void __arch_timer_setup(unsigned type,
834834

835835
clk->set_state_shutdown(clk);
836836

837-
clockevents_config_and_register(clk, arch_timer_rate, 0xf, 0x7fffffff);
837+
clockevents_config_and_register(clk, arch_timer_rate, 0xf, CLOCKSOURCE_MASK(56));
838838
}
839839

840840
static void arch_timer_evtstrm_enable(int divider)

0 commit comments

Comments
 (0)