module: refactor out section header rewriting: FIX modversions
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 18:59:07 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:07 +0000 (12:29 +0930)
commitd6df72a06e067139d491da4a9d14d92ad39e7a50
tree2a7d0387df66c2d6f510cd9a24c622bf75ca669c
parent8b5f61a795fe37be090b0fd18b6b7271db9298e0
module: refactor out section header rewriting: FIX modversions

We can't do the find_sec after removing the SHF_ALLOC flags; it won't
find the sections.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c