xref: /openbmc/linux/arch/parisc/include/uapi/asm/cachectl.h (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*c6d96328SHelge Deller /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*c6d96328SHelge Deller #ifndef _ASM_CACHECTL
3*c6d96328SHelge Deller #define _ASM_CACHECTL
4*c6d96328SHelge Deller 
5*c6d96328SHelge Deller /*
6*c6d96328SHelge Deller  * Options for cacheflush system call
7*c6d96328SHelge Deller  */
8*c6d96328SHelge Deller #define ICACHE	(1<<0)		/* flush instruction cache	  */
9*c6d96328SHelge Deller #define DCACHE	(1<<1)		/* writeback and flush data cache */
10*c6d96328SHelge Deller #define BCACHE	(ICACHE|DCACHE) /* flush both caches		  */
11*c6d96328SHelge Deller 
12*c6d96328SHelge Deller #endif	/* _ASM_CACHECTL */
13