]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
timers/migration: Update stale @online doc to @available
authorZhan Xusheng <zhanxusheng@xiaomi.com>
Tue, 26 May 2026 02:21:06 +0000 (10:21 +0800)
committerThomas Gleixner <tglx@kernel.org>
Thu, 28 May 2026 16:35:11 +0000 (18:35 +0200)
Commit 8312cab5ff47 ("timers/migration: Rename 'online' bit to
'available'") renamed the 'online' field of struct tmigr_cpu to
'available'. The kernel doc comment above the struct still describes the
old field name.

Update it to reflect the actual field name and use the 'available' wording
in the description.

Fixes: 8312cab5ff47 ("timers/migration: Rename 'online' bit to 'available'")
Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260526022106.1302279-1-zhanxusheng@xiaomi.com
kernel/time/timer_migration.h

index 291bfb6adfc304f999a615a3d8e65bb4fc489c05..ea8db95fc63ea1cd38802893af6acb1a5e5e1621 100644 (file)
@@ -94,15 +94,17 @@ struct tmigr_group {
 /**
  * struct tmigr_cpu - timer migration per CPU group
  * @lock:              Lock protecting the tmigr_cpu group information
- * @online:            Indicates whether the CPU is online; In deactivate path
- *                     it is required to know whether the migrator in the top
- *                     level group is to be set offline, while a timer is
- *                     pending. Then another online CPU needs to be notified to
- *                     take over the migrator role. Furthermore the information
- *                     is required in CPU hotplug path as the CPU is able to go
- *                     idle before the timer migration hierarchy hotplug AP is
- *                     reached. During this phase, the CPU has to handle the
+ * @available:         Indicates whether the CPU is available for handling
+ *                     global timers. In the deactivate path it is required to
+ *                     know whether the migrator in the top level group is to
+ *                     be set offline, while a timer is pending. Then another
+ *                     available CPU needs to be notified to take over the
+ *                     migrator role. Furthermore the information is required
+ *                     in the CPU hotplug path as the CPU is able to go idle
+ *                     before the timer migration hierarchy hotplug callback is
+ *                     reached.  During this phase, the CPU has to handle the
  *                     global timers on its own and must not act as a migrator.
+
  * @idle:              Indicates whether the CPU is idle in the timer migration
  *                     hierarchy
  * @remote:            Is set when timers of the CPU are expired remotely