projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM / Hibernate: Fix PM_POST_* notification with user-space suspend
[linux-2.6-microblaze.git]
/
kernel
/
power
/
user.c
diff --git
a/kernel/power/user.c
b/kernel/power/user.c
index
1b2ea31
..
c36c3b9
100644
(file)
--- a/
kernel/power/user.c
+++ b/
kernel/power/user.c
@@
-137,7
+137,7
@@
static int snapshot_release(struct inode *inode, struct file *filp)
free_all_swap_pages(data->swap);
if (data->frozen)
thaw_processes();
- pm_notifier_call_chain(data->mode == O_
WR
ONLY ?
+ pm_notifier_call_chain(data->mode == O_
RD
ONLY ?
PM_POST_HIBERNATION : PM_POST_RESTORE);
atomic_inc(&snapshot_device_available);