diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-27 01:14:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-27 13:56:27 -0700 |
commit | 16ecf85a5ca7345efbcbb2de76607db0f7ec9049 (patch) | |
tree | 4eec83917e3ece632339c470c0bb2b8f116c0b70 /drivers/gpu | |
parent | 0559bc8e9bf8cb6063b9bc7206fbc28982491a5d (diff) | |
download | op-kernel-dev-16ecf85a5ca7345efbcbb2de76607db0f7ec9049.zip op-kernel-dev-16ecf85a5ca7345efbcbb2de76607db0f7ec9049.tar.gz |
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 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions