module: split unset_section_ro_nx function.
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 19 May 2011 22:55:26 +0000 (16:55 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 19 May 2011 07:25:26 +0000 (16:55 +0930)
commit01526ed0830643bd53a8434c3068e4c077e1b09d
tree6fe0fecf55f6fe5bc94f95f9b0e01f67a53bf9d0
parent448694a1d50432be63aafccb42d6f54d8cf3d02c
module: split unset_section_ro_nx function.

Split the unprotect function into a function per section to make
the code more readable and add the missing static declaration.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c