xref: /linux/arch/riscv/include/asm/cacheinfo.h (revision 2d7a5c6c69029ae7e386cb3a04086a1e0b61cb8f)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _ASM_RISCV_CACHEINFO_H
4 #define _ASM_RISCV_CACHEINFO_H
5 
6 #include <linux/cacheinfo.h>
7 
8 struct riscv_cacheinfo_ops {
9 	const struct attribute_group * (*get_priv_group)(struct cacheinfo
10 							*this_leaf);
11 };
12 
13 void riscv_set_cacheinfo_ops(struct riscv_cacheinfo_ops *ops);
14 
15 #endif /* _ASM_RISCV_CACHEINFO_H */
16