[PATCH] sched/cputime: Fix a spelling mistake in comments

From: bajing

Date: Tue Nov 03 2026 - 02:04:49 EST


From: bajing <bajing@xxxxxxxxxxxxxxxxxxxx>

A comment block in kernel/sched/cputime.c misspells the word
"subtract" in two places. Fix the spelling.

Comment-only change with no functional effect.

Signed-off-by: bajing <bajing@xxxxxxxxxxxxxxxxxxxx>
---
kernel/sched/cputime.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c
index 17f3cbd5d403..146d75c66ad6 100644
--- a/kernel/sched/cputime.c
+++ b/kernel/sched/cputime.c
@@ -435,8 +435,8 @@ static void kcpustat_idle_stop(struct kernel_cpustat *kc, u64 now)
steal = steal_account_process_time(delta);

/*
- * Record the idle time after substracting the steal time from
- * previous update sequence. Don't substract the steal time from
+ * Record the idle time after subtracting the steal time from
+ * previous update sequence. Don't subtract the steal time from
* the current update sequence to avoid readers moving backward.
*/
write_seqcount_begin(&kc->idle_sleeptime_seq);
--
2.43.0