]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8be6ff262bae16ae2df060a21868490a95d63c72
tree2ee1ed2c10c82001f382c2a9b0d3fcf7911fa51c
parentb45dc7e961f0a7916332e2d608899983fd3bac22
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]