summaryrefslogtreecommitdiffstats
path: root/kernel/livepatch
diff options
context:
space:
mode:
authorJessica Yu <jeyu@redhat.com>2016-03-16 20:55:38 -0400
committerJiri Kosina <jkosina@suse.cz>2016-03-17 09:45:09 +0100
commit4c973d1620ae08f5cbe27644c5f5b974c8f594ec (patch)
tree7c7be4f090f2da5084774aab39475e89234f9e4c /kernel/livepatch
parent06e1c170c332dca755f389a99671912ff405698c (diff)
downloadlinux-stable-4c973d1620ae08f5cbe27644c5f5b974c8f594ec.tar.gz
linux-stable-4c973d1620ae08f5cbe27644c5f5b974c8f594ec.tar.bz2
linux-stable-4c973d1620ae08f5cbe27644c5f5b974c8f594ec.zip
modules: split part of complete_formation() into prepare_coming_module()
Put all actions in complete_formation() that are performed after module->state is set to MODULE_STATE_COMING into a separate function prepare_coming_module(). This split prepares for the removal of the livepatch module notifiers in favor of hard-coding function calls to klp_module_{coming,going} in the module loader. The complete_formation -> prepare_coming_module split will also make error handling easier since we can jump to the appropriate error label to do any module GOING cleanup after all the COMING-actions have completed. Signed-off-by: Jessica Yu <jeyu@redhat.com> Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions