x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git] / arch / arc / include / uapi / asm / cachectl.h
blob0e4f2affc7e9c93838dcdd4ed86cfa6dbbc9ce64
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */
10 #ifndef __ARC_ASM_CACHECTL_H
11 #define __ARC_ASM_CACHECTL_H
14 * ARC ABI flags defined for Android's finegrained cacheflush requirements
16 #define CF_I_INV 0x0002
17 #define CF_D_FLUSH 0x0010
18 #define CF_D_FLUSH_INV 0x0020
20 #define CF_DEFAULT (CF_I_INV | CF_D_FLUSH)
23 * Standard flags expected by cacheflush system call users
25 #define ICACHE CF_I_INV
26 #define DCACHE CF_D_FLUSH
27 #define BCACHE (CF_I_INV | CF_D_FLUSH)
29 #endif