[PATCH 00/15] tick/sched: Refactor idle cputime accounting
Peter Zijlstra
peterz at infradead.org
Tue Jan 20 01:53:30 AEDT 2026
On Fri, Jan 16, 2026 at 03:51:53PM +0100, Frederic Weisbecker wrote:
> kernel/sched/cputime.c | 302 +++++++++++++++++++++++++++++++------
My editor feels strongly about the below; with that it still has one
complaint about paravirt_steal_clock() which does not have a proper
declaration.
diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c
index 7ff8dbec7ee3..248232fa6e27 100644
--- a/kernel/sched/cputime.c
+++ b/kernel/sched/cputime.c
@@ -2,6 +2,7 @@
/*
* Simple CPU accounting cgroup controller
*/
+#include <linux/sched/clock.h>
#include <linux/sched/cputime.h>
#include <linux/tsacct_kern.h>
#include "sched.h"
More information about the Linuxppc-dev
mailing list