mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
x86: make HAVE_SPARSE_IRQ support selectable
Ingo said sparse_irq is some intrusive. need to make it selectable to make it simple, remove irq_desc as parameter in some functions. (ack, eoi, set_affinity). may need to make member if irq_chip to take irq_desc, or struct irq later. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
ffd5aae781
commit
8f09cd20a2
5 changed files with 62 additions and 28 deletions
|
@ -269,7 +269,7 @@ int show_interrupts(struct seq_file *p, void *v)
|
|||
struct irqaction * action;
|
||||
unsigned long flags;
|
||||
unsigned int entries;
|
||||
struct irq_desc *desc;
|
||||
struct irq_desc *desc = NULL;
|
||||
int tail = 0;
|
||||
|
||||
#ifdef CONFIG_HAVE_SPARSE_IRQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue