summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/branch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/branch.h')
-rw-r--r--arch/mips/include/asm/branch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/branch.h b/arch/mips/include/asm/branch.h
index de781cf54bc7..2894ea58454d 100644
--- a/arch/mips/include/asm/branch.h
+++ b/arch/mips/include/asm/branch.h
@@ -13,6 +13,9 @@
#include <asm/ptrace.h>
#include <asm/inst.h>
+static int mipsr2_emulation = 0;
+#define NO_R6EMU (cpu_has_mips_r6 && !mipsr2_emulation)
+
extern int __isa_exception_epc(struct pt_regs *regs);
extern int __compute_return_epc(struct pt_regs *regs);
extern int __compute_return_epc_for_insn(struct pt_regs *regs,