diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-04-10 15:10:50 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-04-10 15:12:41 +0200 |
commit | b329fd5b018ffd64cfef6a2551bb2ca4bbfbacf2 (patch) | |
tree | 0ce7ac1533810ece586406dbe2cb2a9fe71e48a1 /kernel/sched/cpuacct.c | |
parent | 479f614110b889d5783acdaec865ede3cdb96b97 (diff) | |
download | linux-b329fd5b018ffd64cfef6a2551bb2ca4bbfbacf2.tar.bz2 |
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.c | 1 |
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" |