summaryrefslogtreecommitdiff
path: root/kernel/sched/cpuacct.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-04-10 17:10:50 +0400
committerIngo Molnar <mingo@kernel.org>2013-04-10 17:12:41 +0400
commitb329fd5b018ffd64cfef6a2551bb2ca4bbfbacf2 (patch)
tree0ce7ac1533810ece586406dbe2cb2a9fe71e48a1 /kernel/sched/cpuacct.c
parent479f614110b889d5783acdaec865ede3cdb96b97 (diff)
downloadlinux-b329fd5b018ffd64cfef6a2551bb2ca4bbfbacf2.tar.xz
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>
Diffstat (limited to 'kernel/sched/cpuacct.c')
-rw-r--r--kernel/sched/cpuacct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/cpuacct.c b/kernel/sched/cpuacct.c
index ef57ab658722..dbb7e2cd95eb 100644
--- a/kernel/sched/cpuacct.c
+++ b/kernel/sched/cpuacct.c
@@ -6,6 +6,7 @@
#include <linux/seq_file.h>
#include <linux/rcupdate.h>
#include <linux/kernel_stat.h>
+#include <linux/err.h>
#include "sched.h"