pci: Cleanup the irq_desc mess in msi
authorThomas Gleixner <tglx@linutronix.de>
Tue, 28 Sep 2010 17:09:51 +0000 (19:09 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:53:34 +0000 (16:53 +0200)
commit39431acb1a4c464e62471cb3058b8ffffb9244db
treeae655b4763f5a801b67b98d9131df534bcdd58d8
parent1c9db52534a2c0e9776788cd34ccc193289fc18c
pci: Cleanup the irq_desc mess in msi

Handing down irq_desc to msi just so that msi can access
irq_desc.irq_data.msi_desc is a pretty stupid idea. The calling code
can hand down a pointer to msi_desc so msi code does not need to know
about the irq descriptor at all.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/kernel/apic/io_apic.c
drivers/pci/msi.c
include/linux/msi.h