[PATCH -mm 1/3] swsusp: Fix snapshot_release

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]>

Remove the leftover enable_nonboot_cpus() from snapshot_release().

Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]>
---
 kernel/power/user.c |1 -
 1 file changed, 1 deletion(-)

Index: linux-2.6.21-rc6-mm1/kernel/power/user.c
===
--- linux-2.6.21-rc6-mm1.orig/kernel/power/user.c   2007-04-22 
19:55:59.0 +0200
+++ linux-2.6.21-rc6-mm1/kernel/power/user.c2007-04-22 19:56:52.0 
+0200
@@ -86,7 +86,6 @@ static int snapshot_release(struct inode
if (data->frozen) {
mutex_lock(_mutex);
thaw_processes();
-   enable_nonboot_cpus();
mutex_unlock(_mutex);
}
atomic_inc(_device_available);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH -mm 1/3] swsusp: Fix snapshot_release

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED]

Remove the leftover enable_nonboot_cpus() from snapshot_release().

Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED]
---
 kernel/power/user.c |1 -
 1 file changed, 1 deletion(-)

Index: linux-2.6.21-rc6-mm1/kernel/power/user.c
===
--- linux-2.6.21-rc6-mm1.orig/kernel/power/user.c   2007-04-22 
19:55:59.0 +0200
+++ linux-2.6.21-rc6-mm1/kernel/power/user.c2007-04-22 19:56:52.0 
+0200
@@ -86,7 +86,6 @@ static int snapshot_release(struct inode
if (data-frozen) {
mutex_lock(pm_mutex);
thaw_processes();
-   enable_nonboot_cpus();
mutex_unlock(pm_mutex);
}
atomic_inc(snapshot_device_available);

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/