Files
erofs-linux/arch/powerpc/lib
Naveen N. Rao 7cd01b08d3 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 <[email protected]>
Reviewed-by: Samuel Mendoza-Jonas <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
2018-10-20 13:26:43 +11:00
..
…
…
2018-06-04 00:39:21 +10:00
…
…
2018-06-12 16:19:22 -07:00
…
2018-06-04 00:39:21 +10:00
…
…