From: Pujin Shi <shipujin.t@gmail.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhc@lemote.com>,
Liangliang Huang <huanglllzu@gmail.com>,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
hankinsea@gmail.com, shipujin.t@gmail.com,
Pujin Shi <shipj@lemote.com>
Subject: [PATCH v2] MIPS: kernel: include probes-common.h header in branch.c
Date: Tue, 22 Sep 2020 00:18:21 +0800 [thread overview]
Message-ID: <20200921161821.2350-1-shipujin.t@gmail.com> (raw)
arch/mips/kernel/branch.c:876:5: error: no previous prototype for '__insn_is_compact_branch' [-Werror=missing-prototypes]
Signed-off-by: Pujin Shi <shipujin.t@gmail.com>
Signed-off-by: Pujin Shi <shipj@lemote.com>
---
arch/mips/kernel/branch.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c
index fb3e203698ea..0216ff24c392 100644
--- a/arch/mips/kernel/branch.c
+++ b/arch/mips/kernel/branch.c
@@ -20,6 +20,8 @@
#include <asm/ptrace.h>
#include <linux/uaccess.h>
+#include "probes-common.h"
+
/*
* Calculate and return exception PC in case of branch delay slot
* for microMIPS and MIPS16e. It does not clear the ISA mode bit.
--
2.18.1
next reply other threads:[~2020-09-21 16:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-21 16:18 Pujin Shi [this message]
2020-09-21 20:23 ` 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=20200921161821.2350-1-shipujin.t@gmail.com \
--to=shipujin.t@gmail.com \
--cc=chenhc@lemote.com \
--cc=hankinsea@gmail.com \
--cc=huanglllzu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=shipj@lemote.com \
--cc=tsbogend@alpha.franken.de \
/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
all inboxes | Powered by JetHome®