diff options
author | Jinyang He <hejinyang@loongson.cn> | 2021-02-07 11:52:36 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-02-09 13:16:02 +0300 |
commit | 9f0781bac9f3d75d10d6a862e18ff172ce07c202 (patch) | |
tree | 313185f159550b8e10c7c4e8974756b469173121 /arch/mips | |
parent | fc4cac4cfc437659ce445c3c47b807e1cc625b66 (diff) | |
download | linux-9f0781bac9f3d75d10d6a862e18ff172ce07c202.tar.xz |
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/kbuild-all@lists.01.org/thread/ZPL2RRA6RZKRQZI5IGOVLFXN2GVZBN3L/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jinyang He <hejinyang@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index f94f291ee6c6..cdd2cd4df081 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -26,6 +26,7 @@ #include <asm/asm.h> #include <asm/dsemul.h> #include <asm/dsp.h> +#include <asm/exec.h> #include <asm/fpu.h> #include <asm/inst.h> #include <asm/irq.h> @@ -36,6 +37,7 @@ #include <asm/mipsregs.h> #include <asm/processor.h> #include <asm/reg.h> +#include <asm/stacktrace.h> #ifdef CONFIG_HOTPLUG_CPU void arch_cpu_idle_dead(void) |