mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 20:56:41 +07:00
blackfin: smp: add suspend and wakeup irq flags
Add IRQF_NO_SUSPEND | IRQF_FORCE_RESUME to irq flags, supplement irq should not be disabled when system do suspend. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
This commit is contained in:
parent
e7da266265
commit
16df3666f4
@ -114,7 +114,8 @@ void __init platform_request_ipi(int irq, void *handler)
|
|||||||
int ret;
|
int ret;
|
||||||
const char *name = (irq == IRQ_SUPPLE_0) ? supple0 : supple1;
|
const char *name = (irq == IRQ_SUPPLE_0) ? supple0 : supple1;
|
||||||
|
|
||||||
ret = request_irq(irq, handler, IRQF_PERCPU, name, handler);
|
ret = request_irq(irq, handler, IRQF_PERCPU | IRQF_NO_SUSPEND |
|
||||||
|
IRQF_FORCE_RESUME, name, handler);
|
||||||
if (ret)
|
if (ret)
|
||||||
panic("Cannot request %s for IPI service", name);
|
panic("Cannot request %s for IPI service", name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user