1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2*4882a593Smuzhiyun #ifndef _M68K_CACHECTL_H 3*4882a593Smuzhiyun #define _M68K_CACHECTL_H 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun /* Definitions for the cacheflush system call. */ 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun #define FLUSH_SCOPE_LINE 1 /* Flush a cache line */ 8*4882a593Smuzhiyun #define FLUSH_SCOPE_PAGE 2 /* Flush a page */ 9*4882a593Smuzhiyun #define FLUSH_SCOPE_ALL 3 /* Flush the whole cache -- superuser only */ 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun #define FLUSH_CACHE_DATA 1 /* Writeback and flush data cache */ 12*4882a593Smuzhiyun #define FLUSH_CACHE_INSN 2 /* Flush instruction cache */ 13*4882a593Smuzhiyun #define FLUSH_CACHE_BOTH 3 /* Flush both caches */ 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun #endif /* _M68K_CACHECTL_H */ 16