summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator_test.rs
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2025-08-04 17:23:34 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-09-23 12:29:55 +0200
commit5ba405c719ce68a86308dd3bd90aeea59959030d (patch)
treed533678e7504d29f5e11897748a66728b90480d9 /rust/kernel/alloc/allocator_test.rs
parent46e83e4afc05c87b5edc2b0b4765283f101af0c6 (diff)
clocksource/drivers/vf-pit: Consolidate calls to pit_*_disable/enable
The difference between the pit_clocksource_enable() and pit_clocksource_disable() is only setting the TIF flag for the clockevent. Let's group them and pass the TIF flag parameter to the function so we save some lines of code. But as the base address is different regarding if it is a clocksource or a clockevent, we pass the base address in parameter instead of the struct pit_timer. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20250804152344.1109310-17-daniel.lezcano@linaro.org
Diffstat (limited to 'rust/kernel/alloc/allocator_test.rs')
0 files changed, 0 insertions, 0 deletions