Skip to content

Commit 30aa08d

Browse files
Marc Zyngierdlezcano
Marc Zyngier
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 <maz@kernel.org> Link: https://lore.kernel.org/r/20211017124225.3018098-9-maz@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
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

+1-1
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)