Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23024
b: refs/heads/master
c: 94c188d
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed Mar 23, 2006
1 parent a946e18 commit 1a9c9c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff4da2e262d2509fe1bacff70dd00934be569c66
refs/heads/master: 94c188d32996beac00426740974310e32f162c14
3 changes: 0 additions & 3 deletions trunk/kernel/power/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,10 @@ static int snapshot_ioctl(struct inode *inode, struct file *filp,
if (data->frozen)
break;
down(&pm_sem);
pm_prepare_console();
disable_nonboot_cpus();
if (freeze_processes()) {
thaw_processes();
enable_nonboot_cpus();
pm_restore_console();
error = -EBUSY;
}
up(&pm_sem);
Expand All @@ -158,7 +156,6 @@ static int snapshot_ioctl(struct inode *inode, struct file *filp,
down(&pm_sem);
thaw_processes();
enable_nonboot_cpus();
pm_restore_console();
up(&pm_sem);
data->frozen = 0;
break;
Expand Down

0 comments on commit 1a9c9c5

Please sign in to comment.