cacheflush.h (c25141062a82ae8bddced1b3ce2b57a1c0efabe0) | cacheflush.h (b93b016313b3ba8003c3b8bb71f569af91f19fc7) |
---|---|
1/* 2 * arch/arm/include/asm/cacheflush.h 3 * 4 * Copyright (C) 1999-2002 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 304 unchanged lines hidden (view full) --- 313 struct page *, unsigned long); 314 if (PageAnon(page)) 315 __flush_anon_page(vma, page, vmaddr); 316} 317 318#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE 319extern void flush_kernel_dcache_page(struct page *); 320 | 1/* 2 * arch/arm/include/asm/cacheflush.h 3 * 4 * Copyright (C) 1999-2002 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 304 unchanged lines hidden (view full) --- 313 struct page *, unsigned long); 314 if (PageAnon(page)) 315 __flush_anon_page(vma, page, vmaddr); 316} 317 318#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE 319extern void flush_kernel_dcache_page(struct page *); 320 |
321#define flush_dcache_mmap_lock(mapping) \ 322 spin_lock_irq(&(mapping)->tree_lock) 323#define flush_dcache_mmap_unlock(mapping) \ 324 spin_unlock_irq(&(mapping)->tree_lock) | 321#define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages) 322#define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages) |
325 326#define flush_icache_user_range(vma,page,addr,len) \ 327 flush_dcache_page(page) 328 329/* 330 * We don't appear to need to do anything here. In fact, if we did, we'd 331 * duplicate cache flushing elsewhere performed by flush_dcache_page(). 332 */ --- 152 unchanged lines hidden --- | 323 324#define flush_icache_user_range(vma,page,addr,len) \ 325 flush_dcache_page(page) 326 327/* 328 * We don't appear to need to do anything here. In fact, if we did, we'd 329 * duplicate cache flushing elsewhere performed by flush_dcache_page(). 330 */ --- 152 unchanged lines hidden --- |