]>
Commit | Line | Data |
---|---|---|
e2be04c7 | 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ |
99a5b287 SZ |
2 | /* |
3 | * based on the mips/cachectl.h | |
4 | * | |
5 | * Copyright 2010 Analog Devices Inc. | |
6 | * Copyright (C) 1994, 1995, 1996 by Ralf Baechle | |
7 | * | |
8 | * Licensed under the GPL-2 or later. | |
9 | */ | |
10 | ||
13376509 CG |
11 | #ifndef _UAPI_ASM_CACHECTL |
12 | #define _UAPI_ASM_CACHECTL | |
99a5b287 SZ |
13 | |
14 | /* | |
15 | * Options for cacheflush system call | |
16 | */ | |
17 | #define ICACHE (1<<0) /* flush instruction cache */ | |
18 | #define DCACHE (1<<1) /* writeback and flush data cache */ | |
19 | #define BCACHE (ICACHE|DCACHE) /* flush both caches */ | |
20 | ||
13376509 | 21 | #endif /* _UAPI_ASM_CACHECTL */ |