linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pujin Shi <shipujin.t@gmail.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Yousong Zhou <yszhou4tech@gmail.com>,
	Paul Burton <paulburton@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Vincenzo Frascino <vincenzo.frascino@arm.com>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	Pujin Shi <shipujin.t@gmail.com>
Subject: [PATCH 2/2] MIPS: process: include exec.h header in process.c
Date: Tue, 29 Sep 2020 17:30:47 +0800	[thread overview]
Message-ID: <20200929093047.1425-2-shipujin.t@gmail.com> (raw)
In-Reply-To: <20200929093047.1425-1-shipujin.t@gmail.com>

  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


  reply	other threads:[~2020-09-29  9:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29  9:30 [PATCH 1/2] MIPS: process: Add prototype for function arch_dup_task_struct Pujin Shi
2020-09-29  9:30 ` Pujin Shi [this message]
2020-09-30 19:54   ` [PATCH 2/2] MIPS: process: include exec.h header in process.c Thomas Bogendoerfer
2020-09-30 19:54 ` [PATCH 1/2] MIPS: process: Add prototype for function arch_dup_task_struct Thomas Bogendoerfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200929093047.1425-2-shipujin.t@gmail.com \
    --to=shipujin.t@gmail.com \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=paulburton@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tsbogend@alpha.franken.de \
    --cc=vincenzo.frascino@arm.com \
    --cc=yszhou4tech@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).