drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / mips / include / asm / cache.h
blob8b08db3fb17aae4f0987092414f9b8ffe59fd8df
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.
6 * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
8 */
9 #ifndef _ASM_CACHE_H
10 #define _ASM_CACHE_H
12 #include <kmalloc.h>
14 #define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT
15 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
17 #define __read_mostly __section(".data..read_mostly")
19 extern void cache_noop(void);
20 extern void r3k_cache_init(void);
21 extern unsigned long r3k_cache_size(unsigned long);
22 extern unsigned long r3k_cache_lsize(unsigned long);
23 extern void r4k_cache_init(void);
24 extern void octeon_cache_init(void);
25 extern void au1x00_fixup_config_od(void);
27 #endif /* _ASM_CACHE_H */