pwm-gpio-custom: fix compile on linux 2.6.31
[openwrt.git] / target / linux / brcm47xx / patches-2.6.34 / 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);
This page took 0.052328 seconds and 5 git commands to generate.