aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/include
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2011-04-18 21:18:11 +0900
committerChris Metcalf <cmetcalf@tilera.com>2011-05-04 14:41:44 -0400
commitdc0b124d8edc6c2f95fc3a689cd40ec05ad85108 (patch)
tree1a64b5a0e4761c0fc3fb454d0385be52e69f0970 /arch/tile/include
parentef0aaf873ebadd7576f4fb2085ec4557a9df8bf5 (diff)
downloadkernel_samsung_smdk4412-dc0b124d8edc6c2f95fc3a689cd40ec05ad85108.zip
kernel_samsung_smdk4412-dc0b124d8edc6c2f95fc3a689cd40ec05ad85108.tar.gz
kernel_samsung_smdk4412-dc0b124d8edc6c2f95fc3a689cd40ec05ad85108.tar.bz2
tile: replace mm->cpu_vm_mask with mm_cpumask()
We plan to change mm->cpu_vm_mask definition later. Thus, this patch convert it into proper macro. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include')
-rw-r--r--arch/tile/include/asm/mmu_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/tile/include/asm/mmu_context.h b/arch/tile/include/asm/mmu_context.h
index 9bc0d07..15fb246 100644
--- a/arch/tile/include/asm/mmu_context.h
+++ b/arch/tile/include/asm/mmu_context.h
@@ -100,8 +100,8 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
__get_cpu_var(current_asid) = asid;
/* Clear cpu from the old mm, and set it in the new one. */
- cpumask_clear_cpu(cpu, &prev->cpu_vm_mask);
- cpumask_set_cpu(cpu, &next->cpu_vm_mask);
+ cpumask_clear_cpu(cpu, mm_cpumask(prev));
+ cpumask_set_cpu(cpu, mm_cpumask(next));
/* Re-load page tables */
install_page_table(next->pgd, asid);