diff options
| author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2025-08-04 17:23:25 +0200 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2025-09-23 12:29:02 +0200 |
| commit | 375fbfc66ca23873c3d9b1c5f6739bf0e2875a57 (patch) | |
| tree | ee756f3965f0de79dac4d8eed02eb56f3600916f /rust/helpers/bug.c | |
| parent | 8b0795e0fc0cf181ecab59d3a9a1618886ea995b (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
