aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-04-10 15:10:50 +0200
committerIngo Molnar <mingo@kernel.org>2013-04-10 15:12:41 +0200
commitb329fd5b018ffd64cfef6a2551bb2ca4bbfbacf2 (patch)
tree0ce7ac1533810ece586406dbe2cb2a9fe71e48a1 /kernel/sched
parent479f614110b889d5783acdaec865ede3cdb96b97 (diff)
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')
-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 ef57ab65872..dbb7e2cd95e 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"