diff options
author | Petr Mladek <pmladek@suse.com> | 2019-01-09 13:43:20 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-01-11 20:51:23 +0100 |
commit | 26c3e98e2f8e44e856cd36c12b3eaefcc6eafb16 (patch) | |
tree | c9358b5d626b51f837e3651a25d4c70cfe695cb0 /include/linux | |
parent | 19514910d021c93c7823ec32067e6b7dea224f0f (diff) | |
download | lwn-26c3e98e2f8e44e856cd36c12b3eaefcc6eafb16.tar.gz lwn-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 <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions