diff options
Diffstat (limited to 'arch/mips/include/asm/branch.h')
-rw-r--r-- | arch/mips/include/asm/branch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/include/asm/branch.h b/arch/mips/include/asm/branch.h index 37c6857c8d4a..888766ae1f85 100644 --- a/arch/mips/include/asm/branch.h +++ b/arch/mips/include/asm/branch.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #define _ASM_BRANCH_H | 9 | #define _ASM_BRANCH_H |
10 | 10 | ||
11 | #include <asm/ptrace.h> | 11 | #include <asm/ptrace.h> |
12 | #include <asm/inst.h> | ||
12 | 13 | ||
13 | static inline int delay_slot(struct pt_regs *regs) | 14 | static inline int delay_slot(struct pt_regs *regs) |
14 | { | 15 | { |
@@ -23,7 +24,11 @@ static inline unsigned long exception_epc(struct pt_regs *regs) | |||
23 | return regs->cp0_epc + 4; | 24 | return regs->cp0_epc + 4; |
24 | } | 25 | } |
25 | 26 | ||
27 | #define BRANCH_LIKELY_TAKEN 0x0001 | ||
28 | |||
26 | extern int __compute_return_epc(struct pt_regs *regs); | 29 | extern int __compute_return_epc(struct pt_regs *regs); |
30 | extern int __compute_return_epc_for_insn(struct pt_regs *regs, | ||
31 | union mips_instruction insn); | ||
27 | 32 | ||
28 | static inline int compute_return_epc(struct pt_regs *regs) | 33 | static inline int compute_return_epc(struct pt_regs *regs) |
29 | { | 34 | { |