[PATCH 2/2] MIPS: process: include exec.h header in process.c

From: Pujin Shi
Date: Tue Sep 29 2020 - 05:31:20 EST


arch/mips/kernel/process.c:696:15: error: no previous prototype for 'arch_align_stack' [-Werror=missing-prototypes]

Signed-off-by: Pujin Shi <shipujin.t@xxxxxxxxx>
---
arch/mips/kernel/process.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index 37f05c8605c2..75ebd8d7bd5d 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -52,6 +52,7 @@
#include <asm/inst.h>
#include <asm/stacktrace.h>
#include <asm/irq_regs.h>
+#include <asm/exec.h>

#ifdef CONFIG_HOTPLUG_CPU
void arch_cpu_idle_dead(void)
--
2.18.1