]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
x86, ioapic: Split up setup_ioapic_entry()
authorYinghai Lu <yinghai.lu@oracle.com>
Wed, 12 Oct 2011 07:33:15 +0000 (00:33 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Oct 2011 07:55:18 +0000 (09:55 +0200)
commitc5b4712c3fabef4d1f48d24563fc562053baa002
treeace39a7d12cbf081f6688424e541c2c3bc7e3b57
parente4aff81182c01f81d0bedb0685abccf3cba4a2ac
x86, ioapic: Split up setup_ioapic_entry()

Ingo pointed out that setup_ioapic_entry() is way too big now.

Split the intr-remap code out into setup_ir_ioapic_entry().

Also pass struct io_apic_irq_attr * instead of 5 parameters
in those two functions.

At last in setup_ir_ioapic_entry() we don't need to panic.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/4E9542BB.4070807@oracle.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c