linux_dsm_epyc7002/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
..
.gitignore
8250-platform.c
asm-offsets.c
binfmt_elfn32.c
binfmt_elfo32.c
bmips_5xxx_init.S
bmips_vec.S
branch.c
cacheinfo.c
cevt-bcm1480.c
cevt-ds1287.c
cevt-gt641xx.c
cevt-r4k.c
cevt-sb1250.c
cevt-txx9.c
cmpxchg.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
cps-vec-ns16550.S Update MIPS email addresses 2017-10-31 22:42:39 +00:00
cps-vec.S Update MIPS email addresses 2017-10-31 22:42:39 +00:00
cpu-bugs64.c
cpu-probe.c
crash_dump.c
crash.c
csrc-bcm1480.c
csrc-ioasic.c
csrc-r4k.c
csrc-sb1250.c
early_printk_8250.c
early_printk.c
elf.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
entry.S
ftrace.c
genex.S
gpio_txx9.c
head.S
i8253.c
idle.c
irq_txx9.c
irq-gt641xx.c
irq-msc01.c
irq-rm7000.c
irq.c
jump_label.c
kgdb.c
kprobes.c
linux32.c
machine_kexec.c
Makefile
mcount.S
mips_machine.c
mips-cm.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
mips-cpc.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
mips-mt-fpaff.c
mips-mt.c
mips-r2-to-r6-emul.c
module.c
octeon_switch.S
perf_event_mipsxx.c
perf_event.c
pm-cps.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
pm.c
probes-common.h
proc.c
process.c
prom.c
ptrace32.c
ptrace.c
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
relocate_kernel.S
relocate.c Update MIPS email addresses 2017-10-31 22:42:39 +00:00
reset.c
rtlx-cmp.c
rtlx-mt.c
rtlx.c
scall32-o32.S
scall64-64.S
scall64-n32.S
scall64-o32.S
segment.c
setup.c
signal32.c
signal_n32.c
signal_o32.c
signal-common.h
signal.c
smp-bmips.c
smp-cmp.c MIPS: smp-cmp: Use right include for task_struct 2017-11-01 22:16:37 +00:00
smp-cps.c MIPS: CPS: Fix use of current_cpu_data in preemptible code 2017-11-01 21:05:57 +00:00
smp-mt.c
smp-up.c
smp.c MIPS: SMP: Fix deadlock & online race 2017-11-01 00:09:17 +00:00
spinlock_test.c
spram.c
stacktrace.c
sync-r4k.c
syscall.c
sysrq.c
time.c
topology.c
traps.c
unaligned.c
uprobes.c
vdso.c
vmlinux.lds.S
vpe-cmp.c
vpe-mt.c
vpe.c
watch.c