summaryrefslogtreecommitdiffstats
path: root/kernel/power/user.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-10-11 09:56:12 +0200
committerJeff Garzik <jeff@garzik.org>2006-10-11 09:56:12 +0200
commit24fcbacedb0d83cabc6761acbecfbf751265ce52 (patch)
tree7147b206304b028c3cfd5de6317e5c8510098ca9 /kernel/power/user.c
parent[netdrvr] b44: handle excessive multicast groups (diff)
parentACPI: Allow setting SCI_EN bit in PM1_CONTROL register (diff)
downloadlinux-24fcbacedb0d83cabc6761acbecfbf751265ce52.tar.xz
linux-24fcbacedb0d83cabc6761acbecfbf751265ce52.zip
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'kernel/power/user.c')
-rw-r--r--kernel/power/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/user.c b/kernel/power/user.c
index 72825c853cd7..93b5dd283dea 100644
--- a/kernel/power/user.c
+++ b/kernel/power/user.c
@@ -145,10 +145,10 @@ static int snapshot_ioctl(struct inode *inode, struct file *filp,
error = freeze_processes();
if (error) {
thaw_processes();
+ enable_nonboot_cpus();
error = -EBUSY;
}
}
- enable_nonboot_cpus();
up(&pm_sem);
if (!error)
data->frozen = 1;