MIPS: Sibyte: Add missing sched.h header
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 17 Jun 2013 13:00:37 +0000 (13:00 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 Jun 2013 16:07:02 +0000 (18:07 +0200)
It's needed for the TASK_INTERRUPTIBLE definition.

Fixes the following build problem:
arch/mips/sibyte/common/sb_tbprof.c:235:4: error: 'TASK_INTERRUPTIBLE'
undeclared (first use in this function)

[ralf@linux-mips.org: Ideally sched.h should be included into the actual
user of TASK_INTERRUPTIBLE, <linux/wait.h> but that seems way too risky
that close to a release.]

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: sibyte-users@bitmover.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5479/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/common/sb_tbprof.c

index 2188b39a1251a9191409150a65b5650cda527655..059e28c8fd973f8e9e40ab23973e9a3fb71563cb 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include <linux/vmalloc.h>
 #include <linux/fs.h>
 #include <linux/errno.h>