summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/cacheinfo.h
blob: 5d9662e9aba85c8acb07bd33a50d6cbdb40c6ffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _ASM_RISCV_CACHEINFO_H
#define _ASM_RISCV_CACHEINFO_H

#include <linux/cacheinfo.h>

struct riscv_cacheinfo_ops {
	const struct attribute_group * (*get_priv_group)(struct cacheinfo
							*this_leaf);
};

void riscv_set_cacheinfo_ops(struct riscv_cacheinfo_ops *ops);

#endif /* _ASM_RISCV_CACHEINFO_H */