Commit b7d0d825 authored by Thomas Gleixner's avatar Thomas Gleixner

genirq: Remove arch_init_chip_data()

This function should have not been there in the first place.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarIngo Molnar <mingo@elte.hu>
parent 77dff1c7
...@@ -641,11 +641,8 @@ static inline void init_irq_proc(void) ...@@ -641,11 +641,8 @@ static inline void init_irq_proc(void)
struct seq_file; struct seq_file;
int show_interrupts(struct seq_file *p, void *v); int show_interrupts(struct seq_file *p, void *v);
struct irq_desc;
extern int early_irq_init(void); extern int early_irq_init(void);
extern int arch_probe_nr_irqs(void); extern int arch_probe_nr_irqs(void);
extern int arch_early_irq_init(void); extern int arch_early_irq_init(void);
extern int arch_init_chip_data(struct irq_desc *desc, int node);
#endif #endif
...@@ -197,8 +197,6 @@ static int alloc_descs(unsigned int start, unsigned int cnt, int node) ...@@ -197,8 +197,6 @@ static int alloc_descs(unsigned int start, unsigned int cnt, int node)
desc = alloc_desc(start + i, node); desc = alloc_desc(start + i, node);
if (!desc) if (!desc)
goto err; goto err;
/* temporary until I fixed x86 madness */
arch_init_chip_data(desc, node);
raw_spin_lock_irqsave(&sparse_irq_lock, flags); raw_spin_lock_irqsave(&sparse_irq_lock, flags);
irq_insert_desc(start + i, desc); irq_insert_desc(start + i, desc);
raw_spin_unlock_irqrestore(&sparse_irq_lock, flags); raw_spin_unlock_irqrestore(&sparse_irq_lock, flags);
......
...@@ -896,9 +896,4 @@ int __init __weak arch_early_irq_init(void) ...@@ -896,9 +896,4 @@ int __init __weak arch_early_irq_init(void)
{ {
return 0; return 0;
} }
int __weak arch_init_chip_data(struct irq_desc *desc, int node)
{
return 0;
}
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment