Mike Travis
b8d317d10c
cpumask: make cpumask_of_cpu_map generic
...
If an arch doesn't define cpumask_of_cpu_map, create a generic
statically-initialized one for them. This allows removal of the buggy
cpumask_of_cpu() macro (&cpumask_of_cpu() gives address of
out-of-scope var).
An arch with NR_CPUS of 4096 probably wants to allocate this itself
based on the actual number of CPUs, since otherwise they're using 2MB
of rodata (1024 cpus means 128k). That's what
CONFIG_HAVE_CPUMASK_OF_CPU_MAP is for (only x86/64 does so at the
moment).
In future as we support more CPUs, we'll need to resort to a
get_cpu_map()/put_cpu_map() allocation scheme.
Signed-off-by: Mike Travis <travis@sgi.com >
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Cc: Andrew Morton <akpm@linux-foundation.org >
Cc: Jack Steiner <steiner@sgi.com >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2008-07-26 16:40:32 +02:00
..
2008-07-25 10:53:29 -07:00
2008-07-24 10:47:24 -07:00
2008-07-24 12:55:01 -07:00
2008-07-25 10:53:45 -07:00
2008-02-09 23:27:01 -08:00
2008-07-25 10:53:47 -07:00
2008-05-17 03:30:23 -04:00
2008-06-24 23:36:35 -04:00
2008-04-28 06:28:04 -04:00
2008-06-24 23:36:35 -04:00
2008-07-23 17:47:32 -07:00
2008-06-27 18:09:16 +02:00
2008-04-29 08:06:29 -07:00
2008-07-24 10:47:22 -07:00
2008-04-29 08:06:09 -07:00
2008-07-25 10:53:37 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:22 -07:00
2008-07-26 16:40:32 +02:00
2008-07-25 10:53:38 -07:00
2008-07-25 10:53:47 -07:00
2008-04-29 08:06:22 -07:00
2008-07-22 19:24:31 +10:00
2008-07-25 10:53:47 -07:00
2008-01-29 17:13:18 +11:00
2008-07-25 10:53:47 -07:00
2008-03-30 14:18:41 -07:00
2008-06-23 13:31:15 +02:00
2008-07-15 21:55:59 +02:00
2008-02-08 09:22:29 -08:00
2008-07-25 10:53:27 -07:00
2008-07-23 11:18:28 +02:00
2008-03-10 18:01:20 -07:00
2008-05-01 08:04:00 -07:00
2007-07-16 09:05:50 -07:00
2008-06-24 10:52:55 -05:00
2008-07-25 10:53:28 -07:00
2008-07-25 10:53:30 -07:00
2008-01-24 20:40:40 -08:00
2008-07-18 18:46:58 +02:00
2008-04-29 08:06:22 -07:00
2008-06-24 01:28:20 +02:00
2008-06-24 01:28:20 +02:00
2008-07-14 14:55:13 -07:00
2008-07-25 10:53:27 -07:00
2008-07-25 10:53:45 -07:00
2008-07-22 19:24:28 +10:00
2008-05-16 16:53:35 +02:00
2008-06-10 11:45:09 +02:00
2008-04-29 08:06:13 -07:00
2008-07-25 10:53:37 -07:00
2008-07-25 10:53:37 -07:00
2008-07-25 10:53:29 -07:00
2008-02-08 09:22:41 -08:00
2008-07-25 10:53:47 -07:00
2008-07-25 10:53:45 -07:00
2008-07-02 15:06:24 -06:00
2008-05-24 18:49:22 +02:00
2008-07-25 10:53:38 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:27 -07:00
2008-07-16 18:02:33 -07:00
2008-07-16 00:29:07 +02:00
2008-07-15 14:12:03 -07:00
2008-05-19 10:03:39 +02:00
2008-07-16 00:29:07 +02:00
2008-06-26 09:24:33 +02:00
2008-05-28 14:49:27 +02:00
2008-07-25 10:53:36 -07:00
2008-04-29 08:06:22 -07:00
2008-02-08 09:22:41 -08:00
2008-02-08 09:22:41 -08:00
2008-07-21 21:55:02 -07:00
2008-02-13 15:45:36 +01:00
2007-12-18 15:21:13 +01:00
2008-07-14 12:19:13 +02:00
2008-06-06 15:19:28 +02:00
2008-06-06 15:19:44 +02:00
2008-06-27 14:31:31 +02:00
2008-07-23 19:36:53 -07:00
2008-06-27 14:31:47 +02:00
2008-05-05 23:56:17 +02:00
2008-07-24 12:53:51 -07:00
2008-07-04 12:50:23 +02:00
2008-07-25 10:53:46 -07:00
2007-07-16 09:05:50 -07:00
2008-07-01 10:14:06 +02:00
2008-07-25 10:53:45 -07:00
2008-07-15 14:12:20 -07:00
2008-07-18 19:53:16 +02:00
2008-07-05 08:51:24 +02:00
2008-05-23 20:39:40 +02:00
2008-02-06 10:41:02 -08:00
2008-06-30 09:20:55 +02:00
2008-07-18 22:02:57 +02:00
2008-07-25 11:35:41 -07:00
2008-07-25 10:53:45 -07:00
2008-07-25 10:53:45 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:47 -07:00
2008-02-06 10:41:11 -08:00
2008-05-02 16:18:42 -07:00
2008-05-02 16:18:42 -07:00
2008-07-14 16:06:58 -07:00
2008-07-25 10:53:47 -07:00
2008-04-10 17:28:26 -07:00
2008-04-29 08:06:07 -07:00
2008-04-30 08:29:53 -07:00
2007-11-29 09:24:53 -08:00
2008-04-29 08:06:04 -07:00
2008-02-08 09:22:31 -08:00
2008-07-25 10:53:41 -07:00