diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-26 10:25:01 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 10:24:34 -0400 |
commit | 005f8eee6f3c8173e492d7bd4d51bda990eb468b (patch) | |
tree | c91e570784f3bb0a268fb4f43c84c07af58041c7 /arch/s390/mm | |
parent | def6cfb70bab83c0094bc0cedd27c4eda563043e (diff) |
[S390] cpumask: use mm_cpumask() wrapper
Makes code futureproof against the impending change to mm->cpu_vm_mask.
It's also a chance to use the new cpumask_ ops which take a pointer
(the older ones are deprecated, but there's no hurry for arch code).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r-- | arch/s390/mm/pgtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index 9bf86125f6f3..be6c1cf4ad5a 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c | |||
@@ -296,7 +296,7 @@ int s390_enable_sie(void) | |||
296 | tsk->mm = tsk->active_mm = mm; | 296 | tsk->mm = tsk->active_mm = mm; |
297 | preempt_disable(); | 297 | preempt_disable(); |
298 | update_mm(mm, tsk); | 298 | update_mm(mm, tsk); |
299 | cpu_set(smp_processor_id(), mm->cpu_vm_mask); | 299 | cpumask_set_cpu(smp_processor_id(), mm_cpumask(mm)); |
300 | preempt_enable(); | 300 | preempt_enable(); |
301 | task_unlock(tsk); | 301 | task_unlock(tsk); |
302 | mmput(old_mm); | 302 | mmput(old_mm); |