projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4cac4
)
MIPS: process: Fix no previous prototype warning
author
Jinyang He
<hejinyang@loongson.cn>
Sun, 7 Feb 2021 08:52:36 +0000
(16:52 +0800)
committer
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Tue, 9 Feb 2021 10:16:02 +0000
(11:16 +0100)
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>
arch/mips/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/process.c
b/arch/mips/kernel/process.c
index f94f291ee6c63274d3d01b918a30e0acfa2331b5..cdd2cd4df081c5a079ddfbbfb479d8a47728f47d 100644
(file)
--- 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)