mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
genirq: Move IRQ_PENDING flag to core
Keep status in sync until all users are fixed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
c1594b77e4
commit
2a0d6fb335
11 changed files with 40 additions and 17 deletions
|
@ -69,7 +69,8 @@ int check_wakeup_irqs(void)
|
|||
int irq;
|
||||
|
||||
for_each_irq_desc(irq, desc)
|
||||
if ((desc->status & IRQ_WAKEUP) && (desc->status & IRQ_PENDING))
|
||||
if ((desc->status & IRQ_WAKEUP) &&
|
||||
(desc->istate & IRQS_PENDING))
|
||||
return -EBUSY;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue