blob: 6171e246ca7b943a784ae03592c9bceeb50f5377 [file] [log] [blame]
Greg Kroah-Hartman6f52b162017-11-01 15:08:43 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _M68K_CACHECTL_H
3#define _M68K_CACHECTL_H
4
5/* Definitions for the cacheflush system call. */
6
7#define FLUSH_SCOPE_LINE 1 /* Flush a cache line */
8#define FLUSH_SCOPE_PAGE 2 /* Flush a page */
9#define FLUSH_SCOPE_ALL 3 /* Flush the whole cache -- superuser only */
10
11#define FLUSH_CACHE_DATA 1 /* Writeback and flush data cache */
12#define FLUSH_CACHE_INSN 2 /* Flush instruction cache */
13#define FLUSH_CACHE_BOTH 3 /* Flush both caches */
14
15#endif /* _M68K_CACHECTL_H */