projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b82c4f
)
clocksource/drivers/arm_arch_timer: Advertise 56bit timer to the core code
author
Marc Zyngier
<maz@kernel.org>
Sun, 17 Oct 2021 12:42:16 +0000
(13:42 +0100)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Sun, 17 Oct 2021 19:47:27 +0000
(21:47 +0200)
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>
drivers/clocksource/arm_arch_timer.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/arm_arch_timer.c
b/drivers/clocksource/arm_arch_timer.c
index f4db3a65bc79eec4e5012881c58bf8f1c7fdb38c..36e09141215143c8400e945c1436ea2c9e301f17 100644
(file)
--- a/
drivers/clocksource/arm_arch_timer.c
+++ b/
drivers/clocksource/arm_arch_timer.c
@@
-834,7
+834,7
@@
static void __arch_timer_setup(unsigned type,
clk->set_state_shutdown(clk);
- clockevents_config_and_register(clk, arch_timer_rate, 0xf,
0x7fffffff
);
+ clockevents_config_and_register(clk, arch_timer_rate, 0xf,
CLOCKSOURCE_MASK(56)
);
}
static void arch_timer_evtstrm_enable(int divider)