source: trunk/target/linux/brcm47xx/patches-2.6.34/301-kmod-fuse-dcache-bug-r4k.patch @ 20888

Last change on this file since 20888 was 20888, checked in by acoul, 6 years ago

brcm47xx: add preliminary 2.6.34 support

File size: 934 bytes
  • arch/mips/mm/c-r4k.c

    a b static inline void local_r4k___flush_cac 
    373373        } 
    374374} 
    375375 
    376 static void r4k___flush_cache_all(void) 
     376void r4k___flush_cache_all(void) 
    377377{ 
    378378        r4k_on_each_cpu(local_r4k___flush_cache_all, NULL, 1); 
    379379} 
    static inline void local_r4k_flush_cache 
    537537        } 
    538538} 
    539539 
    540 static void r4k_flush_cache_page(struct vm_area_struct *vma, 
     540void r4k_flush_cache_page(struct vm_area_struct *vma, 
    541541        unsigned long addr, unsigned long pfn) 
    542542{ 
    543543        struct flush_cache_page_args args; 
    void __cpuinit r4k_cache_init(void) 
    14561456        coherency_setup(); 
    14571457#endif 
    14581458} 
     1459 
     1460// fuse package DCACHE BUG patch exports 
     1461void (*fuse_flush_cache_all)(void) = r4k___flush_cache_all; 
     1462void (*fuse_flush_cache_page)(struct vm_area_struct *vma, unsigned long page, 
     1463        unsigned long pfn) = r4k_flush_cache_page; 
     1464EXPORT_SYMBOL(fuse_flush_cache_page); 
     1465EXPORT_SYMBOL(fuse_flush_cache_all); 
Note: See TracBrowser for help on using the repository browser.