diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-12-06 21:20:20 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-12-07 21:49:45 +0100 |
commit | 74faaf7aa64c76b60db0f5c994fd43a46be772ce (patch) | |
tree | aed1314ff9478dc3bdf4194515b17655e7f05015 /kernel | |
parent | 020c312658d61297ffe43b412441c69b1c36fb1b (diff) | |
download | op-kernel-dev-74faaf7aa64c76b60db0f5c994fd43a46be772ce.zip op-kernel-dev-74faaf7aa64c76b60db0f5c994fd43a46be772ce.tar.gz |
genirq: Move irq_chip_write_msi_msg() helper to core
No point to expose this to the world. The only legitimate user is the
core code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/msi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c index f477a2f..3e18163 100644 --- a/kernel/irq/msi.c +++ b/kernel/irq/msi.c @@ -32,6 +32,12 @@ void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg) EXPORT_SYMBOL_GPL(get_cached_msi_msg); #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN +static inline void irq_chip_write_msi_msg(struct irq_data *data, + struct msi_msg *msg) +{ + data->chip->irq_write_msi_msg(data, msg); +} + /** * msi_domain_set_affinity - Generic affinity setter function for MSI domains * @irq_data: The irq data associated to the interrupt |