Files
android_kernel_xiaomi_sm8450/arch/mips/kernel
Jason A. Donenfeld f677b77050 MIPS: smp-cmp: Use right include for task_struct
When task_struct was moved, this MIPS code was neglected. Evidently
nobody is using it anymore. This fixes this build error:

In file included from ./arch/mips/include/asm/thread_info.h:15:0,
                 from ./include/linux/thread_info.h:37,
                 from ./include/asm-generic/current.h:4,
                 from ./arch/mips/include/generated/asm/current.h:1,
                 from ./include/linux/sched.h:11,
                 from arch/mips/kernel/smp-cmp.c:22:
arch/mips/kernel/smp-cmp.c: In function ‘cmp_boot_secondary’:
./arch/mips/include/asm/processor.h:384:41: error: implicit declaration
of function ‘task_stack_page’ [-Werror=implicit-function-declaration]
 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \
                                         ^
arch/mips/kernel/smp-cmp.c:84:21: note: in expansion of macro ‘__KSTK_TOS’
  unsigned long sp = __KSTK_TOS(idle);
                     ^~~~~~~~~~

Fixes: f3ac606719 ("sched/headers: Move task-stack related APIs from <linux/sched.h> to <linux/sched/task_stack.h>")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: <stable@vger.kernel.org> # 4.11+
Patchwork: https://patchwork.linux-mips.org/patch/17522/
Signed-off-by: James Hogan <jhogan@kernel.org>
2017-11-01 22:16:37 +00:00
..
2017-02-13 18:57:34 +00:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2017-09-06 11:01:52 +02:00
2011-12-07 22:03:45 +00:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2017-01-03 16:34:34 +01:00
2017-01-25 02:51:11 +01:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2014-05-24 00:07:01 +02:00
2017-09-20 10:47:12 +02:00
2017-10-31 22:42:39 +00:00
2016-05-09 12:00:02 +02:00
2017-10-31 22:42:39 +00:00
2017-11-01 00:09:17 +00:00
2017-08-29 15:21:55 +02:00
2009-06-24 18:34:40 +01:00
2014-05-24 00:07:01 +02:00