300-fork_cacheflush.patch 553 B

1234567891011
  1. --- a/arch/mips/include/asm/cacheflush.h
  2. +++ b/arch/mips/include/asm/cacheflush.h
  3. @@ -32,7 +32,7 @@
  4. extern void (*flush_cache_all)(void);
  5. extern void (*__flush_cache_all)(void);
  6. extern void (*flush_cache_mm)(struct mm_struct *mm);
  7. -#define flush_cache_dup_mm(mm) do { (void) (mm); } while (0)
  8. +#define flush_cache_dup_mm(mm) flush_cache_mm(mm)
  9. extern void (*flush_cache_range)(struct vm_area_struct *vma,
  10. unsigned long start, unsigned long end);
  11. extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn);