mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
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>
This commit is contained in:
parent
020c312658
commit
74faaf7aa6
@ -461,12 +461,6 @@ extern int irq_chip_set_affinity_parent(struct irq_data *data,
|
|||||||
bool force);
|
bool force);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline void irq_chip_write_msi_msg(struct irq_data *data,
|
|
||||||
struct msi_msg *msg)
|
|
||||||
{
|
|
||||||
data->chip->irq_write_msi_msg(data, msg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handling of unhandled and spurious interrupts: */
|
/* Handling of unhandled and spurious interrupts: */
|
||||||
extern void note_interrupt(unsigned int irq, struct irq_desc *desc,
|
extern void note_interrupt(unsigned int irq, struct irq_desc *desc,
|
||||||
irqreturn_t action_ret);
|
irqreturn_t action_ret);
|
||||||
|
@ -32,6 +32,12 @@ void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg)
|
|||||||
EXPORT_SYMBOL_GPL(get_cached_msi_msg);
|
EXPORT_SYMBOL_GPL(get_cached_msi_msg);
|
||||||
|
|
||||||
#ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
|
#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
|
* msi_domain_set_affinity - Generic affinity setter function for MSI domains
|
||||||
* @irq_data: The irq data associated to the interrupt
|
* @irq_data: The irq data associated to the interrupt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user