lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] MIPS: process: include exec.h header in process.c
Date
  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@gmail.com>
---
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
\
 
 \ /
  Last update: 2020-09-29 11:32    [W:0.026 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site