aboutsummaryrefslogtreecommitdiffstats
path: root/samples/livepatch/livepatch-callbacks-demo.c
diff options
context:
space:
mode:
authorPetr Mladek <[email protected]>2019-01-09 12:43:20 +0000
committerJiri Kosina <[email protected]>2019-01-11 19:51:23 +0000
commit26c3e98e2f8e44e856cd36c12b3eaefcc6eafb16 (patch)
treec9358b5d626b51f837e3651a25d4c70cfe695cb0 /samples/livepatch/livepatch-callbacks-demo.c
parentlivepatch: Change unsigned long old_addr -> void *old_func in struct klp_func (diff)
downloadkernel-26c3e98e2f8e44e856cd36c12b3eaefcc6eafb16.tar.gz
kernel-26c3e98e2f8e44e856cd36c12b3eaefcc6eafb16.zip
livepatch: Shuffle klp_enable_patch()/klp_disable_patch() code
We are going to simplify the API and code by removing the registration step. This would require calling init/free functions from enable/disable ones. This patch just moves the code to prevent more forward declarations. This patch does not change the code except for two forward declarations. Signed-off-by: Petr Mladek <[email protected]> Acked-by: Miroslav Benes <[email protected]> Acked-by: Joe Lawrence <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'samples/livepatch/livepatch-callbacks-demo.c')
0 files changed, 0 insertions, 0 deletions