[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200921110754.1131-1-hankinsea@gmail.com>
Date: Mon, 21 Sep 2020 19:07:54 +0800
From: Herrington <hankinsea@...il.com>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: Huacai Chen <chenhc@...ote.com>,
Liangliang Huang <huanglllzu@...il.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Herrington <hankinsea@...il.com>,
Pujin Shi <shipujin.t@...il.com>, Pujin Shi <shipj@...ote.com>
Subject: [PATCH] MIPS: kernel: include probes-common.h header in branch.c
arch/mips/kernel/branch.c:876:5: error: no previous prototype for '__insn_is_compact_branch' [-Werror=missing-prototypes]
Signed-off-by: Herrington <hankinsea@...il.com>
Signed-off-by: Pujin Shi <shipujin.t@...il.com>
Signed-off-by: Pujin Shi <shipj@...ote.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
Powered by blists - more mailing lists