]> Git Repo - linux.git/blob - arch/riscv/include/asm/cpufeature.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / arch / riscv / include / asm / cpufeature.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright 2022-2023 Rivos, Inc
4  */
5
6 #ifndef _ASM_CPUFEATURE_H
7 #define _ASM_CPUFEATURE_H
8
9 /*
10  * These are probed via a device_initcall(), via either the SBI or directly
11  * from the corresponding CSRs.
12  */
13 struct riscv_cpuinfo {
14         unsigned long mvendorid;
15         unsigned long marchid;
16         unsigned long mimpid;
17 };
18
19 DECLARE_PER_CPU(struct riscv_cpuinfo, riscv_cpuinfo);
20
21 DECLARE_PER_CPU(long, misaligned_access_speed);
22
23 #endif
This page took 0.035529 seconds and 4 git commands to generate.