Skip to content

Commit b329fd5

Browse files
committed
sched/cpuacct/UML: Fix header file dependency bug on the UML build
The cpuacct split caused this build failure on UML: kernel/sched/cpuacct.c:94:2: error: implicit declaration of function 'ERR_PTR' Cc: Li Zefan <lizefan@huawei.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 479f614 commit b329fd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/sched/cpuacct.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <linux/seq_file.h>
77
#include <linux/rcupdate.h>
88
#include <linux/kernel_stat.h>
9+
#include <linux/err.h>
910

1011
#include "sched.h"
1112

0 commit comments

Comments
 (0)