summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2018-06-07 12:52:02 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-20 05:26:43 +0300
commit7cd01b08d35f1b7d55686ed8cd57c94d3406ec8f (patch)
treeba2112d797cf4e9ba7c690fe9bbe07dad8d5a873 /LICENSES
parentb4d16ab58c41ff0125822464bdff074cebd0fe47 (diff)
downloadlinux-7cd01b08d35f1b7d55686ed8cd57c94d3406ec8f.tar.xz
powerpc: Add support for function error injection
We implement regs_set_return_value() and override_function_with_return() for this purpose. On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions