powerpc/livepatch: Add livepatch header
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Mar 2016 11:04:03 +0000 (22:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Apr 2016 05:47:06 +0000 (15:47 +1000)
commitf63e6d89876034c21ecd18bb1cd0d6c5b8da11a5
tree2ee1ed2c10c82001f382c2a9b0d3fcf7911fa51c
parent28e7cbd3e0f5fefec892842d1391ebd508fdb5ce
powerpc/livepatch: Add livepatch header

Add the powerpc specific livepatch definitions. In particular we provide
a non-default implementation of klp_get_ftrace_location().

This is required because the location of the mcount call is not constant
when using -mprofile-kernel (which we always do for live patching).

Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/livepatch.h [new file with mode: 0644]