public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] sched: fix compiling error on kernel/sched/sched.h
@ 2024-02-08  9:31 zhaoyang.huang
  2024-02-08  9:31 ` [PATCH 2/3] sched: introduce a macro for getting approximat CFS part of a timing value zhaoyang.huang
  2024-02-08  9:31 ` [PATCH 3/3] block: introducing a bias over deadline's fifo_time zhaoyang.huang
  0 siblings, 2 replies; 11+ messages in thread
From: zhaoyang.huang @ 2024-02-08  9:31 UTC (permalink / raw)
  To: Jens Axboe, Peter Zijlstra, Ingo Molnar, Juri Lelli,
	Vincent Guittot, Yu Zhao, linux-block, linux-kernel,
	Zhaoyang Huang, steve.kang

From: Zhaoyang Huang <zhaoyang.huang@unisoc.com>

Below compiling error reported. fix it.

block/../kernel/sched/sched.h: In function ‘update_current_exec_runtime’:
block/../kernel/sched/sched.h:3287:2: error: implicit declaration of function ‘account_group_exec_runtime’; did you mean ‘sched_group_rt_runtime’? [-Werror=implicit-function-declaration]
  account_group_exec_runtime(curr, delta_exec);

Signed-off-by: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
---
 kernel/sched/sched.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 04846272409c..b0cffc9c0f0d 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -20,6 +20,7 @@
 #include <linux/sched/task_flags.h>
 #include <linux/sched/task.h>
 #include <linux/sched/topology.h>
+#include <linux/sched/cputime.h>
 
 #include <linux/atomic.h>
 #include <linux/bitmap.h>
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-02-09  3:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08  9:31 [PATCH 1/3] sched: fix compiling error on kernel/sched/sched.h zhaoyang.huang
2024-02-08  9:31 ` [PATCH 2/3] sched: introduce a macro for getting approximat CFS part of a timing value zhaoyang.huang
2024-02-08  9:31 ` [PATCH 3/3] block: introducing a bias over deadline's fifo_time zhaoyang.huang
2024-02-08 17:46   ` Bart Van Assche
2024-02-08 23:52     ` Zhaoyang Huang
2024-02-08 17:49   ` Jens Axboe
2024-02-09  0:02     ` Zhaoyang Huang
2024-02-09  0:10       ` Jens Axboe
2024-02-09  0:28         ` Zhaoyang Huang
2024-02-09  1:58           ` Damien Le Moal
2024-02-09  3:08             ` Zhaoyang Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox