lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 8 Feb 2024 17:31:34 +0800
From: "zhaoyang.huang" <zhaoyang.huang@...soc.com>
To: Jens Axboe <axboe@...nel.dk>, Peter Zijlstra <peterz@...radead.org>,
        Ingo
 Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
        Vincent
 Guittot <vincent.guittot@...aro.org>,
        Yu Zhao <yuzhao@...gle.com>, <linux-block@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>,
        Zhaoyang Huang
	<huangzhaoyang@...il.com>, <steve.kang@...soc.com>
Subject: [PATCH 1/3] sched: fix compiling error on kernel/sched/sched.h

From: Zhaoyang Huang <zhaoyang.huang@...soc.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@...soc.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ