Jessica Yu f31e0960f3 module: s390: keep mod_arch_specific for livepatch modules
Livepatch needs to utilize the symbol information contained in the
mod_arch_specific struct in order to be able to call the s390
apply_relocate_add() function to apply relocations. Keep a reference to
syminfo if the module is a livepatch module. Remove the redundant vfree()
in module_finalize() since module_arch_freeing_init() (which also frees
those structures) is called in do_init_module(). If the module isn't a
livepatch module, we free the structures in module_arch_freeing_init() as
usual.

Signed-off-by: Jessica Yu <jeyu@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2016-04-01 15:00:11 +02:00
..
2015-06-25 09:39:26 +02:00
2016-03-08 10:38:06 +01:00
2015-03-25 11:49:33 +01:00
2015-10-27 09:33:57 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2016-03-07 13:12:04 +01:00
2016-02-11 13:05:56 +01:00
2016-01-11 13:01:24 +01:00
2015-03-25 11:49:33 +01:00