From: Rusty Russell Date: Wed, 22 Oct 2008 15:00:13 +0000 (-0500) Subject: module: simplify load_module. X-Git-Tag: v2.6.28-rc1~36^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e458cc0f4770eea45d3c07110f01b3a94c72aa5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed