On Wed, 2016-13-04 at 12:53:20 UTC, Michael Ellerman wrote: > When livepatch tries to patch a function it takes the function address > and asks ftrace to install the livepatch handler at that location. > ftrace will look for an mcount call site at that exact address. > > On powerpc the mcount location is not the first instruction of the > function, and in fact it's not at a constant offset from the start of > the function. To accommodate this add a hook which arch code can > override to customise the behaviour. > > Signed-off-by: Torsten Duwe <d...@suse.de> > Signed-off-by: Balbir Singh <bsinghar...@gmail.com> > Signed-off-by: Petr Mladek <pmla...@suse.com> > Signed-off-by: Michael Ellerman <m...@ellerman.id.au>
Applied to powerpc next. https://git.kernel.org/powerpc/c/28e7cbd3e0f5fefec892842d13 cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev