treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / nds32 / include / uapi / asm / cachectl.h
blob31b9b439d81931a7fb66adb7b134fa298f7392bb
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 // Copyright (C) 1994, 1995, 1996 by Ralf Baechle
3 // Copyright (C) 2005-2017 Andes Technology Corporation
4 #ifndef _ASM_CACHECTL
5 #define _ASM_CACHECTL
7 /*
8 * Options for cacheflush system call
9 */
10 #define ICACHE 0 /* flush instruction cache */
11 #define DCACHE 1 /* writeback and flush data cache */
12 #define BCACHE 2 /* flush instruction cache + writeback and flush data cache */
14 #endif /* _ASM_CACHECTL */