diff options
author | Julia Lawall <julia@diku.dk> | 2010-03-26 18:02:47 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-05-18 17:45:53 -0400 |
commit | 93f7c93bee6382e01c34ea0c34ff8fb98c648734 (patch) | |
tree | defc28087c82368589d121d132965587e8fdd98e /arch/ia64/sn | |
parent | 80aa9bf0d8083554967400d48dbec078aa8f128e (diff) |
[IA64] Use set_cpus_allowed_ptr
Use set_cpus_allowed_ptr rather than set_cpus_allowed.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn')
-rw-r--r-- | arch/ia64/sn/kernel/sn2/sn_hwperf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c b/arch/ia64/sn/kernel/sn2/sn_hwperf.c index 55ac3c4e11d..f6c1c5fd075 100644 --- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c +++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c | |||
@@ -629,9 +629,9 @@ static int sn_hwperf_op_cpu(struct sn_hwperf_op_info *op_info) | |||
629 | else { | 629 | else { |
630 | /* migrate the task before calling SAL */ | 630 | /* migrate the task before calling SAL */ |
631 | save_allowed = current->cpus_allowed; | 631 | save_allowed = current->cpus_allowed; |
632 | set_cpus_allowed(current, cpumask_of_cpu(cpu)); | 632 | set_cpus_allowed_ptr(current, cpumask_of(cpu)); |
633 | sn_hwperf_call_sal(op_info); | 633 | sn_hwperf_call_sal(op_info); |
634 | set_cpus_allowed(current, save_allowed); | 634 | set_cpus_allowed_ptr(current, &save_allowed); |
635 | } | 635 | } |
636 | } | 636 | } |
637 | r = op_info->ret; | 637 | r = op_info->ret; |