diff options
author | Paul Menage <menage@google.com> | 2009-06-25 00:19:56 -0700 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-06-26 12:07:26 +1000 |
commit | ccea0e7284072e2f2061a8eeda075859d1de053c (patch) | |
tree | d7315646de206cc8629241a8e2c654aed3772858 /arch/um | |
parent | 50f6ac54d43e4b626a33ac4577d9b4614b9601c2 (diff) |
UML: Fix some apparent bitrot in mmu_context.h
UML: Fix some apparent bitrot in mmu_context.h
- cpumask_clear() -> cpumask_clear_cpu()
Signed-off-by: Paul Menage <menage@google.com>
--
Fixes the following compile errors:
arch/um/include/asm/mmu_context.h: In function 'switch_mm':
arch/um/include/asm/mmu_context.h:38: warning: passing argument 1 of 'cpumask_clear' makes pointer from integer without
a cast
arch/um/include/asm/mmu_context.h:38: error: too many arguments to function 'cpumask_clear'
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/include/asm/mmu_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/asm/mmu_context.h b/arch/um/include/asm/mmu_context.h index edd719e2b4b9..34d813011b7a 100644 --- a/arch/um/include/asm/mmu_context.h +++ b/arch/um/include/asm/mmu_context.h @@ -35,7 +35,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, unsigned cpu = smp_processor_id(); if(prev != next){ - cpumask_clear(cpu, mm_cpumask(prev)); + cpumask_clear_cpu(cpu, mm_cpumask(prev)); cpumask_set_cpu(cpu, mm_cpumask(next)); if(next != &init_mm) __switch_mm(&next->context.id); |