at v5.8 15 lines 353 B view raw
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 8struct riscv_cacheinfo_ops { 9 const struct attribute_group * (*get_priv_group)(struct cacheinfo 10 *this_leaf); 11}; 12 13void riscv_set_cacheinfo_ops(struct riscv_cacheinfo_ops *ops); 14 15#endif /* _ASM_RISCV_CACHEINFO_H */