mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] genirq: cleanup: merge pending_irq_cpumask[] into irq_desc[]
Consolidation: remove the pending_irq_cpumask[NR_IRQS] array and move it into the irq_desc[NR_IRQS].pending_mask field. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
4a733ee126
commit
cd916d31cc
4 changed files with 6 additions and 10 deletions
|
@ -83,6 +83,7 @@ struct irq_desc {
|
|||
cpumask_t affinity;
|
||||
#endif
|
||||
#if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE)
|
||||
cpumask_t pending_mask;
|
||||
unsigned int move_irq; /* need to re-target IRQ dest */
|
||||
#endif
|
||||
#ifdef CONFIG_PROC_FS
|
||||
|
@ -120,7 +121,6 @@ static inline void set_native_irq_info(int irq, cpumask_t mask)
|
|||
#ifdef CONFIG_SMP
|
||||
|
||||
#if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE)
|
||||
extern cpumask_t pending_irq_cpumask[NR_IRQS];
|
||||
|
||||
void set_pending_irq(unsigned int irq, cpumask_t mask);
|
||||
void move_native_irq(int irq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue