| .. | .. |
|---|
| 302 | 302 | goto Enable_cpus; |
|---|
| 303 | 303 | |
|---|
| 304 | 304 | local_irq_disable(); |
|---|
| 305 | + hard_cond_local_irq_disable(); |
|---|
| 305 | 306 | |
|---|
| 306 | 307 | system_state = SYSTEM_SUSPEND; |
|---|
| 307 | 308 | |
|---|
| .. | .. |
|---|
| 469 | 470 | |
|---|
| 470 | 471 | local_irq_disable(); |
|---|
| 471 | 472 | system_state = SYSTEM_SUSPEND; |
|---|
| 473 | + hard_cond_local_irq_disable(); |
|---|
| 472 | 474 | |
|---|
| 473 | 475 | error = syscore_suspend(); |
|---|
| 474 | 476 | if (error) |
|---|
| .. | .. |
|---|
| 590 | 592 | |
|---|
| 591 | 593 | local_irq_disable(); |
|---|
| 592 | 594 | system_state = SYSTEM_SUSPEND; |
|---|
| 595 | + hard_cond_local_irq_disable(); |
|---|
| 593 | 596 | syscore_suspend(); |
|---|
| 594 | 597 | if (pm_wakeup_pending()) { |
|---|
| 595 | 598 | error = -EAGAIN; |
|---|