Skip to content

Commit 9f0781b

Browse files
MQ-mengqingtsbogend
authored andcommitted
MIPS: process: Fix no previous prototype warning
unwind_stack_by_address and unwind_stack need <asm/stacktrace.h>. arch_align_stack needs <asm/exec.h> link: https://lists.01.org/hyperkitty/list/[email protected]/thread/ZPL2RRA6RZKRQZI5IGOVLFXN2GVZBN3L/ Reported-by: kernel test robot <[email protected]> Signed-off-by: Jinyang He <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent fc4cac4 commit 9f0781b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/mips/kernel/process.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <asm/asm.h>
2727
#include <asm/dsemul.h>
2828
#include <asm/dsp.h>
29+
#include <asm/exec.h>
2930
#include <asm/fpu.h>
3031
#include <asm/inst.h>
3132
#include <asm/irq.h>
@@ -36,6 +37,7 @@
3637
#include <asm/mipsregs.h>
3738
#include <asm/processor.h>
3839
#include <asm/reg.h>
40+
#include <asm/stacktrace.h>
3941

4042
#ifdef CONFIG_HOTPLUG_CPU
4143
void arch_cpu_idle_dead(void)

0 commit comments

Comments
 (0)