summaryrefslogtreecommitdiff
path: root/rust/helpers/bug.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2025-08-04 17:23:25 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-09-23 12:29:02 +0200
commit375fbfc66ca23873c3d9b1c5f6739bf0e2875a57 (patch)
treeee756f3965f0de79dac4d8eed02eb56f3600916f /rust/helpers/bug.c
parent8b0795e0fc0cf181ecab59d3a9a1618886ea995b (diff)
clocksource/drivers/vf-pit: Allocate the struct timer at init time
Instead of having a static global structure for a timer, let's allocate it dynamically so we can create multiple instances in the future to support multiple timers. At the same time, add the rollbacking code in case of error. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20250804152344.1109310-8-daniel.lezcano@linaro.org
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions