diff options
author | 2008-10-22 10:00:13 -0500 | |
---|---|---|
committer | 2008-10-22 10:00:15 +1100 | |
commit | 5e458cc0f4770eea45d3c07110f01b3a94c72aa5 (patch) | |
tree | 97966d9ac8f9621073fad39a88ed37765c959a9d /include/linux/moduleparam.h | |
parent | binfmt_elf_fdpic: Update for cputime changes. (diff) | |
download | wireguard-linux-5e458cc0f4770eea45d3c07110f01b3a94c72aa5.tar.xz wireguard-linux-5e458cc0f4770eea45d3c07110f01b3a94c72aa5.zip |
module: simplify load_module.
Linus' recent catch of stack overflow in load_module lead me to look
at the code. A couple of helpers to get a section address and get
objects from a section can help clean things up a little.
(And in case you're wondering, the stack size also dropped from 328 to
284 bytes).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions