[PATCH] suspend: don't change cpus_allowed for task initiating the suspend
authorSiddha, Suresh B <suresh.b.siddha@intel.com>
Thu, 7 Dec 2006 04:34:31 +0000 (20:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:28 +0000 (08:39 -0800)
commit112cecb2cc0e7341db92281ba04b26c41bb8146d
tree5eed4de8bfa3ed7e7f71454e82d3e92a5ee36347
parent2d4a34c9365c6e3f94a5b26ce296e1fce9b66c8b
[PATCH] suspend: don't change cpus_allowed for task initiating the suspend

Don't modify the cpus_allowed of the task initiating the suspend.
_cpu_down() already makes sure that the task doing the suspend doesn't run
on dying cpu.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Nigel Cunningham <nigel@suspend2.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpu.c