diff options
| -rw-r--r-- | kernel/power/hibernate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index 81d2e746489..ec8202512b0 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c | |||
| @@ -460,11 +460,11 @@ int hibernation_platform_enter(void) | |||
| 460 | 460 | ||
| 461 | error = hibernation_ops->prepare(); | 461 | error = hibernation_ops->prepare(); |
| 462 | if (error) | 462 | if (error) |
| 463 | goto Platofrm_finish; | 463 | goto Platform_finish; |
| 464 | 464 | ||
| 465 | error = disable_nonboot_cpus(); | 465 | error = disable_nonboot_cpus(); |
| 466 | if (error) | 466 | if (error) |
| 467 | goto Platofrm_finish; | 467 | goto Platform_finish; |
| 468 | 468 | ||
| 469 | local_irq_disable(); | 469 | local_irq_disable(); |
| 470 | sysdev_suspend(PMSG_HIBERNATE); | 470 | sysdev_suspend(PMSG_HIBERNATE); |
| @@ -476,7 +476,7 @@ int hibernation_platform_enter(void) | |||
| 476 | * We don't need to reenable the nonboot CPUs or resume consoles, since | 476 | * We don't need to reenable the nonboot CPUs or resume consoles, since |
| 477 | * the system is going to be halted anyway. | 477 | * the system is going to be halted anyway. |
| 478 | */ | 478 | */ |
| 479 | Platofrm_finish: | 479 | Platform_finish: |
| 480 | hibernation_ops->finish(); | 480 | hibernation_ops->finish(); |
| 481 | 481 | ||
| 482 | dpm_suspend_noirq(PMSG_RESTORE); | 482 | dpm_suspend_noirq(PMSG_RESTORE); |
