]> bbs.cooldavid.org Git - net-next-2.6.git/commit
msi: Introduce default_[teardown|setup]_msi_irqs with fallback.
authorThomas Gleixner <tglx@linutronix.de>
Wed, 6 Oct 2010 20:05:35 +0000 (16:05 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 18 Oct 2010 14:49:33 +0000 (10:49 -0400)
commit1525bf0d8f059a38c6e79353583854e1981b2e67
treee9ffaebc5f2726dd57c0d427996af033af71ab6c
parent7c94def89aa5091706e03b98047c074d7ac74af0
msi: Introduce default_[teardown|setup]_msi_irqs with fallback.

Introduce an override for the arch_[teardown|setup]_msi_irqs
that can be utilized to fallback to the default arch_* code.

If a platform wants to utilize the code paths defined
in driver/pci/msi.c it has to define HAVE_DEFAULT_MSI_TEARDOWN_IRQS
or HAVE_DEFAULT_MSI_SETUP_IRQS. Otherwise the old mechanism
of over-ridding the arch_* works fine.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: x86@kernel.org
drivers/pci/msi.c