Linus Torvalds 16ecf85a5c 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>
2008-08-27 13:56:27 -07:00
..
2008-08-22 02:33:23 -04:00
2008-07-24 10:47:41 -07:00
2008-08-18 21:40:04 +02:00
2008-08-19 18:47:56 +02:00
2008-08-12 16:07:31 -07:00
2008-07-25 10:53:30 -07:00
2008-08-15 11:50:15 -07:00
2008-08-26 00:19:28 +10:00
2008-08-08 19:18:18 +01:00
2008-08-27 13:56:27 -07:00
2008-07-26 12:00:11 -07:00
2008-08-16 16:35:33 +01:00
2008-08-25 18:15:01 +02:00
2008-08-04 12:51:06 +09:00
2008-08-13 17:33:00 -07:00