diff options
author | Bob Liu <lliubbo@gmail.com> | 2011-12-11 21:59:48 -0500 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-01-08 21:26:14 -0500 |
commit | 16df3666f43507a6d21e192dae39b69cafc17089 (patch) | |
tree | f2c829c466485f1b3697281d7a3ecc8e8dfa8770 /arch/blackfin | |
parent | e7da266265e70f37b6702314dcb3b71c3f4a7def (diff) |
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf561/smp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index db22401e7605..b2a6b77efad3 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c | |||
@@ -114,7 +114,8 @@ void __init platform_request_ipi(int irq, void *handler) | |||
114 | int ret; | 114 | int ret; |
115 | const char *name = (irq == IRQ_SUPPLE_0) ? supple0 : supple1; | 115 | const char *name = (irq == IRQ_SUPPLE_0) ? supple0 : supple1; |
116 | 116 | ||
117 | ret = request_irq(irq, handler, IRQF_PERCPU, name, handler); | 117 | ret = request_irq(irq, handler, IRQF_PERCPU | IRQF_NO_SUSPEND | |
118 | IRQF_FORCE_RESUME, name, handler); | ||
118 | if (ret) | 119 | if (ret) |
119 | panic("Cannot request %s for IPI service", name); | 120 | panic("Cannot request %s for IPI service", name); |
120 | } | 121 | } |