Skip to contentSkip to conversation

MIPS: Fix build breakage caused by header file change

PATCH New Guenter Roeck 1 participant 1 message Mar 5, 2017 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Fix build breakage caused by header file change

Since commit f3ac60671954 ("sched/headers: Move task-stack related APIs from <linux/sched.h> to <linux/sched/task_stack.h>"), various mips builds fail as follows.

arch/mips/kernel/smp-mt.c: In function ‘vsmp_boot_secondary’:
arch/mips/include/asm/processor.h:384:41: error:
implicit declaration of function ‘task_stack_page’

Fixes f3ac60671954 ("sched/headers: Move task-stack related APIs ...")
Cc Ingo Molnar <[email protected]>
---
 arch/mips/kernel/smp-mt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/kernel/smp-mt.c +1 -1
index e077ea3e11fb..effc1ed18954 100644
@@ -18,7 +18,7 @@
  * Copyright (C) 2006 Ralf Baechle ([email protected])
  */
 #include <linux/kernel.h>
-#include <linux/sched.h>
+#include <linux/sched/task_stack.h>
 #include <linux/cpumask.h>
 #include <linux/interrupt.h>
 #include <linux/irqchip/mips-gic.h>
Signature · 1 line
2.7.4