]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/sh/include/asm/cachectl.h
sh: Add sys_cacheflush() call for SH CPUs.
[mirror_ubuntu-focal-kernel.git] / arch / sh / include / asm / cachectl.h
CommitLineData
6d243dd3
SM
1#ifndef _SH_CACHECTL_H
2#define _SH_CACHECTL_H
3
4/* Definitions for the cacheflush system call. */
5
6#define CACHEFLUSH_D_INVAL 0x1 /* invalidate (without write back) */
7#define CACHEFLUSH_D_WB 0x2 /* write back (without invalidate) */
8#define CACHEFLUSH_D_PURGE 0x3 /* writeback and invalidate */
9
10#define CACHEFLUSH_I 0x4
11
12#endif /* _SH_CACHECTL_H */