#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/module.h>
#include <asm/branch.h>
#include <asm/cpu.h>
#include <asm/cpu-features.h>
#include <asm/fpu.h>
#include <asm/inst.h>
#include <asm/ptrace.h>
#include <asm/uaccess.h>
Go to the source code of this file.
__compute_return_epc_for_insn - Computes the return address and do emulate branch simulation, if required.
: Pointer to pt_regs : branch instruction to decode
- Returns
- : -EFAULT on error and forces SIGBUS, and on success returns 0 or BRANCH_LIKELY_TAKEN as appropriate after evaluating the branch.
Definition at line 31 of file branch.c.