Commit ffb03559 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus

* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
  [MIPS] SMP: Fix use of cpumasks.
  [MIPS] Revert "[MIPS] tlbex.c: Cleanup __init usage."
  [MIPS] CFE: Add missing parenthesis.
parents bcd11eaa ece8a9e4
...@@ -379,7 +379,7 @@ void flush_tlb_mm(struct mm_struct *mm) ...@@ -379,7 +379,7 @@ void flush_tlb_mm(struct mm_struct *mm)
unsigned int cpu; unsigned int cpu;
cpu_clear(smp_processor_id(), mask); cpu_clear(smp_processor_id(), mask);
for_each_online_cpu(cpu) for_each_cpu_mask(cpu, mask)
if (cpu_context(cpu, mm)) if (cpu_context(cpu, mm))
cpu_context(cpu, mm) = 0; cpu_context(cpu, mm) = 0;
} }
...@@ -419,7 +419,7 @@ void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned l ...@@ -419,7 +419,7 @@ void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned l
unsigned int cpu; unsigned int cpu;
cpu_clear(smp_processor_id(), mask); cpu_clear(smp_processor_id(), mask);
for_each_online_cpu(cpu) for_each_cpu_mask(cpu, mask)
if (cpu_context(cpu, mm)) if (cpu_context(cpu, mm))
cpu_context(cpu, mm) = 0; cpu_context(cpu, mm) = 0;
} }
...@@ -466,7 +466,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long page) ...@@ -466,7 +466,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
unsigned int cpu; unsigned int cpu;
cpu_clear(smp_processor_id(), mask); cpu_clear(smp_processor_id(), mask);
for_each_online_cpu(cpu) for_each_cpu_mask(cpu, mask)
if (cpu_context(cpu, vma->vm_mm)) if (cpu_context(cpu, vma->vm_mm))
cpu_context(cpu, vma->vm_mm) = 0; cpu_context(cpu, vma->vm_mm) = 0;
} }
......
This diff is collapsed.
...@@ -154,7 +154,7 @@ int64_t cfe_getticks(void); ...@@ -154,7 +154,7 @@ int64_t cfe_getticks(void);
#define cfe_readblk(a, b, c, d) __cfe_readblk(a, b, c, d) #define cfe_readblk(a, b, c, d) __cfe_readblk(a, b, c, d)
#define cfe_setenv(a, b) __cfe_setenv(a, b) #define cfe_setenv(a, b) __cfe_setenv(a, b)
#define cfe_write(a, b, c) __cfe_write(a, b, c) #define cfe_write(a, b, c) __cfe_write(a, b, c)
#define cfe_writeblk(a, b, c, d __cfe_writeblk(a, b, c, d) #define cfe_writeblk(a, b, c, d) __cfe_writeblk(a, b, c, d)
#endif /* CFE_API_IMPL_NAMESPACE */ #endif /* CFE_API_IMPL_NAMESPACE */
int cfe_close(int handle); int cfe_close(int handle);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment