Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108472
b: refs/heads/master
c: 73bd9c7
h: refs/heads/master
v: v3
  • Loading branch information
Huang Ying authored and Linus Torvalds committed Aug 15, 2008
1 parent 95e80fe commit 32903a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca195b7f6da3d5dde0bb85a7c322d7de73352653
refs/heads/master: 73bd9c72a29be1e8de008186eea55d333a938804
2 changes: 2 additions & 0 deletions trunk/kernel/kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,7 @@ int kernel_kexec(void)
error = disable_nonboot_cpus();
if (error)
goto Resume_devices;
device_pm_lock();
local_irq_disable();
/* At this point, device_suspend() has been called,
* but *not* device_power_down(). We *must*
Expand Down Expand Up @@ -1485,6 +1486,7 @@ int kernel_kexec(void)
device_power_up(PMSG_RESTORE);
Enable_irqs:
local_irq_enable();
device_pm_unlock();
enable_nonboot_cpus();
Resume_devices:
device_resume(PMSG_RESTORE);
Expand Down

0 comments on commit 32903a3

Please sign in to comment.