]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
timers/migration: Use scoped_guard on available flag set/clear
authorGabriele Monaco <gmonaco@redhat.com>
Thu, 20 Nov 2025 14:56:49 +0000 (15:56 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 20 Nov 2025 19:17:31 +0000 (20:17 +0100)
commit4c2374ed86847c71dab5602c7882d21a0d56a4c7
tree64ee60cf8d349f9bb58fa8f1a9c7a187f6b2c4ea
parenta048ca5f00ebd5a44f8551d546a3cd81fed7a204
timers/migration: Use scoped_guard on available flag set/clear

Cleanup tmigr_clear_cpu_available() and tmigr_set_cpu_available() to
prepare for easier checks on the available flag.

Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251120145653.296659-4-gmonaco@redhat.com
kernel/time/timer_migration.c