diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-05-25 08:10:58 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-06-11 12:27:07 -0400 |
commit | 38c7fed2f5ffee17e1fa3e0f78b0e1bf43d52d13 (patch) | |
tree | 52544d8dcfadbd5347872eae23939fe387d7c78b /arch/x86/kernel/apic | |
parent | a5f4f52e82114e85aa1a066bd1a450acc19a464d (diff) |
x86: remove some alloc_bootmem_cpumask_var calling
Now that we set up the slab allocator earlier, we can get rid of some
alloc_bootmem_cpumask_var() calls in boot code.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 1946fac42ab3..139201a562ba 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -185,8 +185,8 @@ int __init arch_early_irq_init(void) | |||
185 | for (i = 0; i < count; i++) { | 185 | for (i = 0; i < count; i++) { |
186 | desc = irq_to_desc(i); | 186 | desc = irq_to_desc(i); |
187 | desc->chip_data = &cfg[i]; | 187 | desc->chip_data = &cfg[i]; |
188 | alloc_bootmem_cpumask_var(&cfg[i].domain); | 188 | alloc_cpumask_var(&cfg[i].domain, GFP_NOWAIT); |
189 | alloc_bootmem_cpumask_var(&cfg[i].old_domain); | 189 | alloc_cpumask_var(&cfg[i].old_domain, GFP_NOWAIT); |
190 | if (i < NR_IRQS_LEGACY) | 190 | if (i < NR_IRQS_LEGACY) |
191 | cpumask_setall(cfg[i].domain); | 191 | cpumask_setall(cfg[i].domain); |
192 | } | 192 | } |