diff options
Diffstat (limited to 'kernel/kexec.c')
-rw-r--r-- | kernel/kexec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c index 17c80fdc453b..9fc6f7cbd8a8 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c | |||
@@ -1469,7 +1469,6 @@ int kernel_kexec(void) | |||
1469 | error = device_power_down(PMSG_FREEZE); | 1469 | error = device_power_down(PMSG_FREEZE); |
1470 | if (error) | 1470 | if (error) |
1471 | goto Enable_irqs; | 1471 | goto Enable_irqs; |
1472 | save_processor_state(); | ||
1473 | } else | 1472 | } else |
1474 | #endif | 1473 | #endif |
1475 | { | 1474 | { |
@@ -1482,7 +1481,6 @@ int kernel_kexec(void) | |||
1482 | 1481 | ||
1483 | #ifdef CONFIG_KEXEC_JUMP | 1482 | #ifdef CONFIG_KEXEC_JUMP |
1484 | if (kexec_image->preserve_context) { | 1483 | if (kexec_image->preserve_context) { |
1485 | restore_processor_state(); | ||
1486 | device_power_up(PMSG_RESTORE); | 1484 | device_power_up(PMSG_RESTORE); |
1487 | Enable_irqs: | 1485 | Enable_irqs: |
1488 | local_irq_enable(); | 1486 | local_irq_enable(); |