module: group post-relocation functions into post_relocation()
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 18:59:12 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:13 +0000 (12:59 +0930)
commit811d66a0e1e99902d365497eec7884113a2665bd
treeb28c4ba87c0f9ec23837f9abc75b6e257a6e0061
parent6526c534b2677ca601b7b92851437feb041d02a1
module: group post-relocation functions into post_relocation()

This simply hoists more code out of load_module; we also put the
identification of the extable and dynamic debug table in with the
others in find_module_sections().

We move the taint check to the actual add/remove of the dynamic debug
info: this is certain (find_module_sections is too early).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Yehuda Sadeh <yehuda@hq.newdream.net>
kernel/module.c