From: Linus Torvalds Date: Wed, 27 Aug 2008 08:14:46 +0000 (-0700) Subject: e1000: fix stack size X-Git-Tag: v2.6.27-rc5~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ecf85a5ca7345efbcbb2de76607db0f7ec9049;p=pandora-kernel.git e1000: fix stack size Here's the patch. It shrinks the stack from 1152 bytes to 192 bytes (the first version, that only did the e1000_option part, got it down to 600 bytes). About half comes from not using multiple "e1000_option" structures, the other half comes from turning the "e1000_opt_list[]" arrays into "static const" instead, so that gcc doesn't copy them onto the stack. Signed-off-by: Linus Torvalds Reveiewed-by: Auke Kok Tested-by: Emil Tantilov Signed-off-by: Jeff Kirsher Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed