Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Pujin Shi <shipujin.t@gmail.com>
Signed-off-by: Pujin Shi <shipj@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Pujin Shi and committed by
Thomas Bogendoerfer
6fa573a3 d976ae6b

+2
+2
arch/mips/kernel/branch.c
··· 20 20 #include <asm/ptrace.h> 21 21 #include <linux/uaccess.h> 22 22 23 + #include "probes-common.h" 24 + 23 25 /* 24 26 * Calculate and return exception PC in case of branch delay slot 25 27 * for microMIPS and MIPS16e. It does not clear the ISA mode bit.