summaryrefslogtreecommitdiffstats
path: root/arch/sparc/boot/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-08-27 10:14:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-27 22:56:27 +0200
commit16ecf85a5ca7345efbcbb2de76607db0f7ec9049 (patch)
tree4eec83917e3ece632339c470c0bb2b8f116c0b70 /arch/sparc/boot/Makefile
parentMerge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block (diff)
downloadlinux-16ecf85a5ca7345efbcbb2de76607db0f7ec9049.tar.xz
linux-16ecf85a5ca7345efbcbb2de76607db0f7ec9049.zip
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 <torvalds@linux-foundation.org> Reveiewed-by: Auke Kok <auke-jan.h.kok@intel.com> Tested-by: Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/boot/Makefile')
0 files changed, 0 insertions, 0 deletions