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)
22 lines
557 B
C
22 lines
557 B
C
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
|
|
/*
|
|
* based on the mips/cachectl.h
|
|
*
|
|
* Copyright 2010 Analog Devices Inc.
|
|
* Copyright (C) 1994, 1995, 1996 by Ralf Baechle
|
|
*
|
|
* Licensed under the GPL-2 or later.
|
|
*/
|
|
|
|
#ifndef _UAPI_ASM_CACHECTL
|
|
#define _UAPI_ASM_CACHECTL
|
|
|
|
/*
|
|
* Options for cacheflush system call
|
|
*/
|
|
#define ICACHE (1<<0) /* flush instruction cache */
|
|
#define DCACHE (1<<1) /* writeback and flush data cache */
|
|
#define BCACHE (ICACHE|DCACHE) /* flush both caches */
|
|
|
|
#endif /* _UAPI_ASM_CACHECTL */
|