summaryrefslogtreecommitdiffstats
path: root/kernel
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
parent479f614110b889d5783acdaec865ede3cdb96b97 (diff)
downloadop-kernel-dev-b329fd5b018ffd64cfef6a2551bb2ca4bbfbacf2.zip
op-kernel-dev-b329fd5b018ffd64cfef6a2551bb2ca4bbfbacf2.tar.gz
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')
-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 ef57ab6..dbb7e2c 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"
OpenPOWER on IntegriCloud