[IA64] save and restore cpus_allowed in cpu_idle_wait
commitbb8416bf8b93d88e23cbbfde962ef85acda5bd5f
authorSiddha, Suresh B <suresh.b.siddha@intel.com>
Tue, 8 May 2007 16:22:47 +0000 (8 09:22 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 8 May 2007 17:01:25 +0000 (8 10:01 -0700)
tree50b2f20f3fda534027d0fba0fa9e0eac28bb3f48
parent9d1d4cc89f3f6952978d37c29607c2d89d350767
[IA64] save and restore cpus_allowed in cpu_idle_wait

Save and Restore the task's cpus_allowed mask, across the set_cpus_allowed()
in cpu_idle_wait(). Without this, we will endup corrupting task's cpu affinity.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/process.c