cacheflush.h (4fbb7e7f47dbc631a9f5bad3171ccbca171ed1d3) 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 * (C) 2001 - 2013 Tensilica Inc.
7 */
8

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

155
156/* Ensure consistency between data and instruction cache. */
157#define local_flush_icache_range(start, end) \
158 do { \
159 __flush_dcache_range(start, (end) - (start)); \
160 __invalidate_icache_range(start,(end) - (start)); \
161 } while (0)
162
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 * (C) 2001 - 2013 Tensilica Inc.
7 */
8

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

155
156/* Ensure consistency between data and instruction cache. */
157#define local_flush_icache_range(start, end) \
158 do { \
159 __flush_dcache_range(start, (end) - (start)); \
160 __invalidate_icache_range(start,(end) - (start)); \
161 } while (0)
162
163/* This is not required, see Documentation/core-api/cachetlb.rst */
164#define flush_icache_page(vma,page) do { } while (0)
165#define flush_icache_pages(vma, page, nr) do { } while (0)
166
167#define flush_dcache_mmap_lock(mapping) do { } while (0)
168#define flush_dcache_mmap_unlock(mapping) do { } while (0)
169
170#if defined(CONFIG_MMU) && (DCACHE_WAY_SIZE > PAGE_SIZE)
171
172extern void copy_to_user_page(struct vm_area_struct*, struct page*,
173 unsigned long, void*, const void*, unsigned long);
174extern void copy_from_user_page(struct vm_area_struct*, struct page*,

--- 17 unchanged lines hidden ---
163#define flush_dcache_mmap_lock(mapping) do { } while (0)
164#define flush_dcache_mmap_unlock(mapping) do { } while (0)
165
166#if defined(CONFIG_MMU) && (DCACHE_WAY_SIZE > PAGE_SIZE)
167
168extern void copy_to_user_page(struct vm_area_struct*, struct page*,
169 unsigned long, void*, const void*, unsigned long);
170extern void copy_from_user_page(struct vm_area_struct*, struct page*,

--- 17 unchanged lines hidden ---