linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] MIPS: kernel: include probes-common.h header in branch.c
@ 2020-09-21 16:18 Pujin Shi
  2020-09-21 20:23 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Pujin Shi @ 2020-09-21 16:18 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Huacai Chen, Liangliang Huang, linux-mips, linux-kernel,
	hankinsea, shipujin.t, Pujin Shi

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] MIPS: kernel: include probes-common.h header in branch.c
  2020-09-21 16:18 [PATCH v2] MIPS: kernel: include probes-common.h header in branch.c Pujin Shi
@ 2020-09-21 20:23 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2020-09-21 20:23 UTC (permalink / raw)
  To: Pujin Shi
  Cc: Huacai Chen, Liangliang Huang, linux-mips, linux-kernel,
	hankinsea, Pujin Shi

On Tue, Sep 22, 2020 at 12:18:21AM +0800, Pujin Shi wrote:
> 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(+)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-21 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 16:18 [PATCH v2] MIPS: kernel: include probes-common.h header in branch.c Pujin Shi
2020-09-21 20:23 ` Thomas Bogendoerfer

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).