]> git.ipfire.org Git - thirdparty/linux.git/commit
watchdog: fix opencoded cpumask_next_wrap() in watchdog_next_cpu()
authorYury Norov [NVIDIA] <yury.norov@gmail.com>
Thu, 5 Jun 2025 00:12:52 +0000 (20:12 -0400)
committerYury Norov <yury.norov@gmail.com>
Thu, 31 Jul 2025 15:28:03 +0000 (11:28 -0400)
commitf49a4af3fabce56aaef125f0d959b81afe194afb
treea8656e93ae6a0aa7c3a1eefd58771a17849b337a
parent8557c8628cf3cf8ebd3b32601ccdde550bbf6c54
watchdog: fix opencoded cpumask_next_wrap() in watchdog_next_cpu()

The dedicated helper is more verbose and efficient comparing to
cpumask_next() followed by cpumask_first().

Signed-off-by: "Yury Norov [NVIDIA]" <yury.norov@gmail.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
kernel/watchdog_buddy.c