Debian Codegraph @

arch/sparc/include/asm/cachetype.h

raw
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SPARC_CACHETYPE_H
3 #define __ASM_SPARC_CACHETYPE_H
4
5 #include <asm/page.h>
6
7 #ifdef CONFIG_SPARC32
8 extern int vac_cache_size;
9 #define cpu_dcache_is_aliasing() (vac_cache_size > PAGE_SIZE)
10 #else
11 #define cpu_dcache_is_aliasing() (L1DCACHE_SIZE > PAGE_SIZE)
12 #endif
13
14 #endif