diff options
author | Jessica Yu <jeyu@redhat.com> | 2016-03-17 00:55:39 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-03-17 08:45:10 (GMT) |
commit | 7e545d6eca20ce8ef7f66a63146cbff82b2ba760 (patch) | |
tree | f8c4366009b357842b8b17b3bfddbfc3b634ff40 /drivers/ata/sata_qstor.c | |
parent | 4c973d1620ae08f5cbe27644c5f5b974c8f594ec (diff) | |
download | linux-7e545d6eca20ce8ef7f66a63146cbff82b2ba760.tar.xz |
livepatch/module: remove livepatch module notifier
Remove the livepatch module notifier in favor of directly enabling and
disabling patches to modules in the module loader. Hard-coding the
function calls ensures that ftrace_module_enable() is run before
klp_module_coming() during module load, and that klp_module_going() is
run before ftrace_release_mod() during module unload. This way, ftrace
and livepatch code is run in the correct order during the module
load/unload sequence without dependence on the module notifier call chain.
Signed-off-by: Jessica Yu <jeyu@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/ata/sata_qstor.c')
0 files changed, 0 insertions, 0 deletions