x86/irq: change irq_desc_alloc() to take node instead of cpu
authorYinghai Lu <yinghai@kernel.org>
Tue, 28 Apr 2009 01:00:38 +0000 (18:00 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 28 Apr 2009 10:21:17 +0000 (12:21 +0200)
commit85ac16d033370caf6f48d743c8dc8103700f5cc5
tree04a73af31c07a8ad29780b777b3f9d041fa236fa
parent57b150cce8e004ddd36330490a68bfb59b7271e9
x86/irq: change irq_desc_alloc() to take node instead of cpu

This simplifies the node awareness of the code. All our allocators
only deal with a NUMA node ID locality not with CPU ids anyway - so
there's no need to maintain (and transform) a CPU id all across the
IRq layer.

v2: keep move_irq_desc related

[ Impact: cleanup, prepare IRQ code to be NUMA-aware ]

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
LKML-Reference: <49F65536.2020300@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c
arch/x86/lguest/boot.c
drivers/pci/intr_remapping.c
drivers/xen/events.c
include/linux/interrupt.h
include/linux/irq.h
kernel/irq/handle.c
kernel/irq/internals.h
kernel/irq/numa_migrate.c
kernel/softirq.c