Kevin Winchester
141168c36c
x86: Simplify code by removing a !SMP #ifdefs from 'struct cpuinfo_x86'
...
Several fields in struct cpuinfo_x86 were not defined for the
!SMP case, likely to save space. However, those fields still
have some meaning for UP, and keeping them allows some #ifdef
removal from other files. The additional size of the UP kernel
from this change is not significant enough to worry about
keeping up the distinction:
text data bss dec hex filename
4737168 506459 972040 6215667 5ed7f3 vmlinux.o.before
4737444 506459 972040 6215943 5ed907 vmlinux.o.after
for a difference of 276 bytes for an example UP config.
If someone wants those 276 bytes back badly then it should
be implemented in a cleaner way.
Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
Cc: Steffen Persvold <sp@numascale.com>
Link: http://lkml.kernel.org/r/1324428742-12498-1-git-send-email-kjwinchester@gmail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-12-21 09:25:09 +01:00
..
2011-10-24 11:09:44 -07:00
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:32 +02:00
2011-11-25 07:48:16 -08:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-05-25 20:43:31 +02:00
2009-12-14 21:17:27 +01:00
2010-10-18 11:03:14 +02:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:14 +02:00
2011-01-12 21:55:09 +01:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-11-25 07:48:16 -08:00
2011-02-26 08:59:32 -08:00
2010-03-30 22:02:32 +09:00
2011-01-08 10:55:02 -08:00
2010-10-28 20:31:50 +02:00
2010-11-15 21:38:56 +01:00
2011-01-23 09:28:50 -08:00
2011-11-04 12:00:47 +01:00
2010-10-28 20:31:50 +02:00
2011-07-17 18:39:18 +02:00
2010-03-30 22:02:32 +09:00
2011-12-21 09:25:09 +01:00
2011-01-12 21:55:13 +01:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-07-03 13:32:53 +02:00
2011-02-09 13:45:52 -08:00
2010-08-14 21:08:54 +02:00
2011-11-26 09:48:20 -08:00
2011-01-08 10:55:07 -08:00
2011-10-24 11:09:38 -07:00
2010-10-24 13:41:39 -07:00
2011-05-25 20:43:31 +02:00
2011-01-12 21:55:11 +01:00
2010-10-18 11:03:14 +02:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-11-26 09:48:20 -08:00
2011-07-25 21:46:10 +02:00
2011-10-31 17:30:51 -07:00
2011-08-23 21:04:28 -07:00
2011-11-04 12:00:46 +01:00
2011-06-17 23:22:27 -07:00
2011-07-25 21:46:10 +02:00
2011-11-04 12:00:47 +01:00
2011-11-26 09:48:20 -08:00
2011-05-25 20:43:31 +02:00
2011-05-25 20:43:31 +02:00
2011-11-17 03:16:19 -08:00
2011-03-16 06:57:34 -07:00
2011-02-09 13:45:42 -08:00
2011-05-25 20:43:31 +02:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2010-08-14 21:08:50 +02:00
2011-11-04 12:00:47 +01:00
2011-07-25 21:46:11 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-04-29 16:33:36 +02:00
2009-12-14 21:17:27 +01:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-01-18 12:22:54 -08:00
2011-07-28 00:17:35 -07:00
2011-07-28 00:17:35 -07:00
2011-03-14 22:39:11 -07:00
2010-12-13 09:54:50 -08:00
2010-08-14 21:08:49 +02:00
2010-11-05 10:17:19 -07:00
2011-10-24 11:09:41 -07:00
2011-07-25 21:46:10 +02:00
2009-12-14 21:17:26 +01:00
2011-07-28 00:17:33 -07:00
2011-03-14 22:36:25 -07:00
2011-06-04 10:34:28 -07:00
2011-05-25 20:43:32 +02:00
2011-11-04 12:00:47 +01:00
2011-10-24 14:09:12 +02:00
2011-11-26 09:48:20 -08:00
2011-01-12 21:55:11 +01:00
2011-01-12 21:55:11 +01:00
2011-01-08 10:55:16 -08:00
2011-11-26 09:48:20 -08:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-11-26 09:48:20 -08:00
2011-11-26 09:48:20 -08:00
2011-07-26 16:49:47 -07:00
2011-11-04 12:00:47 +01:00
2011-01-08 10:55:18 -08:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-01-08 10:55:27 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-11-04 12:00:47 +01:00
2010-05-27 19:58:49 +02:00
2010-10-28 20:31:50 +02:00
2011-11-26 09:48:20 -08:00
2011-11-26 09:48:20 -08:00
2011-01-12 21:55:09 +01:00
2011-07-25 21:46:10 +02:00
2011-01-08 10:55:30 -08:00
2011-01-08 10:55:31 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2011-11-06 20:25:18 +01:00
2011-01-08 10:55:33 -08:00
2011-11-04 12:00:47 +01:00
2011-09-21 17:25:18 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-12 21:55:09 +01:00
2011-11-26 09:48:20 -08:00
2011-11-26 09:48:20 -08:00