Skip to content

Commit

Permalink
genirq: Remove arch_init_chip_data()
Browse files Browse the repository at this point in the history
This function should have not been there in the first place.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed Oct 12, 2010
1 parent 77dff1c commit b7d0d82
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions include/linux/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -641,11 +641,8 @@ static inline void init_irq_proc(void)
struct seq_file;
int show_interrupts(struct seq_file *p, void *v);

struct irq_desc;

extern int early_irq_init(void);
extern int arch_probe_nr_irqs(void);
extern int arch_early_irq_init(void);
extern int arch_init_chip_data(struct irq_desc *desc, int node);

#endif
2 changes: 0 additions & 2 deletions kernel/irq/irqdesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ static int alloc_descs(unsigned int start, unsigned int cnt, int node)
desc = alloc_desc(start + i, node);
if (!desc)
goto err;
/* temporary until I fixed x86 madness */
arch_init_chip_data(desc, node);
raw_spin_lock_irqsave(&sparse_irq_lock, flags);
irq_insert_desc(start + i, desc);
raw_spin_unlock_irqrestore(&sparse_irq_lock, flags);
Expand Down
5 changes: 0 additions & 5 deletions kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,9 +896,4 @@ int __init __weak arch_early_irq_init(void)
{
return 0;
}

int __weak arch_init_chip_data(struct irq_desc *desc, int node)
{
return 0;
}
#endif

0 comments on commit b7d0d82

Please sign in to comment.