sched/cpuacct/UML: Fix header file dependency bug on the UML build
authorIngo Molnar <mingo@kernel.org>
Wed, 10 Apr 2013 13:10:50 +0000 (15:10 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Apr 2013 13:12:41 +0000 (15:12 +0200)
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>
kernel/sched/cpuacct.c

index ef57ab658722c41185208d93ddfaebe7ceb9ff76..dbb7e2cd95eba592f6b7878238ff12979e4c1aa0 100644 (file)
@@ -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"