brcm47xx: add patches for kernel 4.0
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-4.0 / 300-fork_cacheflush.patch
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);