mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
irq: Remove unused debug_poll_all_shared_irqs()
commit 74296a8ed
added this function for debug purposes, but it was
never used for anything. Remove it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
24b26d4211
commit
663e695928
2 changed files with 1 additions and 19 deletions
|
@ -603,12 +603,6 @@ static inline void init_irq_proc(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_GENERIC_HARDIRQS) && defined(CONFIG_DEBUG_SHIRQ)
|
|
||||||
extern void debug_poll_all_shared_irqs(void);
|
|
||||||
#else
|
|
||||||
static inline void debug_poll_all_shared_irqs(void) { }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct seq_file;
|
struct seq_file;
|
||||||
int show_interrupts(struct seq_file *p, void *v);
|
int show_interrupts(struct seq_file *p, void *v);
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ static int misrouted_irq(int irq)
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void poll_all_shared_irqs(void)
|
static void poll_spurious_irqs(unsigned long dummy)
|
||||||
{
|
{
|
||||||
struct irq_desc *desc;
|
struct irq_desc *desc;
|
||||||
int i;
|
int i;
|
||||||
|
@ -123,23 +123,11 @@ static void poll_all_shared_irqs(void)
|
||||||
|
|
||||||
try_one_irq(i, desc);
|
try_one_irq(i, desc);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static void poll_spurious_irqs(unsigned long dummy)
|
|
||||||
{
|
|
||||||
poll_all_shared_irqs();
|
|
||||||
|
|
||||||
mod_timer(&poll_spurious_irq_timer,
|
mod_timer(&poll_spurious_irq_timer,
|
||||||
jiffies + POLL_SPURIOUS_IRQ_INTERVAL);
|
jiffies + POLL_SPURIOUS_IRQ_INTERVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_SHIRQ
|
|
||||||
void debug_poll_all_shared_irqs(void)
|
|
||||||
{
|
|
||||||
poll_all_shared_irqs();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If 99,900 of the previous 100,000 interrupts have not been handled
|
* If 99,900 of the previous 100,000 interrupts have not been handled
|
||||||
* then assume that the IRQ is stuck in some manner. Drop a diagnostic
|
* then assume that the IRQ is stuck in some manner. Drop a diagnostic
|
||||||
|
|
Loading…
Reference in a new issue