mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
genirq: Convert core code to irq_data
Convert all references in the core code to orq, chip, handler_data, chip_data, msi_desc, affinity to irq_data.* Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
ff7dcd44dd
commit
6b8ff3120c
11 changed files with 111 additions and 110 deletions
|
@ -43,14 +43,14 @@ extern void irq_set_thread_affinity(struct irq_desc *desc);
|
|||
/* Inline functions for support of irq chips on slow busses */
|
||||
static inline void chip_bus_lock(unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
if (unlikely(desc->chip->bus_lock))
|
||||
desc->chip->bus_lock(irq);
|
||||
if (unlikely(desc->irq_data.chip->bus_lock))
|
||||
desc->irq_data.chip->bus_lock(irq);
|
||||
}
|
||||
|
||||
static inline void chip_bus_sync_unlock(unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
if (unlikely(desc->chip->bus_sync_unlock))
|
||||
desc->chip->bus_sync_unlock(irq);
|
||||
if (unlikely(desc->irq_data.chip->bus_sync_unlock))
|
||||
desc->irq_data.chip->bus_sync_unlock(irq);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -67,8 +67,8 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
|
|||
irq, desc, desc->depth, desc->irq_count, desc->irqs_unhandled);
|
||||
printk("->handle_irq(): %p, ", desc->handle_irq);
|
||||
print_symbol("%s\n", (unsigned long)desc->handle_irq);
|
||||
printk("->chip(): %p, ", desc->chip);
|
||||
print_symbol("%s\n", (unsigned long)desc->chip);
|
||||
printk("->irq_data.chip(): %p, ", desc->irq_data.chip);
|
||||
print_symbol("%s\n", (unsigned long)desc->irq_data.chip);
|
||||
printk("->action(): %p\n", desc->action);
|
||||
if (desc->action) {
|
||||
printk("->action->handler(): %p, ", desc->action->handler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue