Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
16 lines
559 B
C
16 lines
559 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _M68K_CACHECTL_H
|
|
#define _M68K_CACHECTL_H
|
|
|
|
/* Definitions for the cacheflush system call. */
|
|
|
|
#define FLUSH_SCOPE_LINE 1 /* Flush a cache line */
|
|
#define FLUSH_SCOPE_PAGE 2 /* Flush a page */
|
|
#define FLUSH_SCOPE_ALL 3 /* Flush the whole cache -- superuser only */
|
|
|
|
#define FLUSH_CACHE_DATA 1 /* Writeback and flush data cache */
|
|
#define FLUSH_CACHE_INSN 2 /* Flush instruction cache */
|
|
#define FLUSH_CACHE_BOTH 3 /* Flush both caches */
|
|
|
|
#endif /* _M68K_CACHECTL_H */
|