On Thu, 2018-06-07 at 09:52:02 UTC, "Naveen N. Rao" wrote: > 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]>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7cd01b08d35f1b7d55686ed8cd57c9 cheers
