cacheflush.h (15fa3e8e32692a423209a1808ef098f7ec3174f5) cacheflush.h (203b7b6aad6769a43987deb81c35456de8bb16c7)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 03 by Ralf Baechle
7 * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc.
8 */

--- 68 unchanged lines hidden (view full) ---

77extern void __flush_anon_page(struct page *, unsigned long);
78static inline void flush_anon_page(struct vm_area_struct *vma,
79 struct page *page, unsigned long vmaddr)
80{
81 if (cpu_has_dc_aliases && PageAnon(page))
82 __flush_anon_page(page, vmaddr);
83}
84
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 03 by Ralf Baechle
7 * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc.
8 */

--- 68 unchanged lines hidden (view full) ---

77extern void __flush_anon_page(struct page *, unsigned long);
78static inline void flush_anon_page(struct vm_area_struct *vma,
79 struct page *page, unsigned long vmaddr)
80{
81 if (cpu_has_dc_aliases && PageAnon(page))
82 __flush_anon_page(page, vmaddr);
83}
84
85static inline void flush_icache_pages(struct vm_area_struct *vma,
86 struct page *page, unsigned int nr)
87{
88}
89#define flush_icache_page(vma, page) flush_icache_pages(vma, page, 1)
90
91extern void (*flush_icache_range)(unsigned long start, unsigned long end);
92extern void (*local_flush_icache_range)(unsigned long start, unsigned long end);
93extern void (*__flush_icache_user_range)(unsigned long start,
94 unsigned long end);
95extern void (*__local_flush_icache_user_range)(unsigned long start,
96 unsigned long end);
97
98extern void (*__flush_cache_vmap)(void);

--- 58 unchanged lines hidden ---
85extern void (*flush_icache_range)(unsigned long start, unsigned long end);
86extern void (*local_flush_icache_range)(unsigned long start, unsigned long end);
87extern void (*__flush_icache_user_range)(unsigned long start,
88 unsigned long end);
89extern void (*__local_flush_icache_user_range)(unsigned long start,
90 unsigned long end);
91
92extern void (*__flush_cache_vmap)(void);

--- 58 unchanged lines hidden ---