[PATCH v2 1/2] riscv: Rearrange hwcap.h and cpufeature.h
Andrew Jones
ajones at ventanamicro.com
Wed Sep 20 01:29:05 PDT 2023
On Wed, Sep 20, 2023 at 03:46:52PM +0800, Xiao Wang wrote:
> Now hwcap.h and cpufeature.h are mutually including each other, and most of
> the variable/API declarations in hwcap.h are implemented in cpufeature.c,
> so, it's better to move them into cpufeature.h and leave only macros for
> ISA extension logical IDs in hwcap.h.
>
> BTW, the riscv_isa_extension_mask macro is not used now, so this patch
> removes it.
>
> Signed-off-by: Xiao Wang <xiao.w.wang at intel.com>
Suggested-by: Andrew Jones <ajones at ventanamicro.com>
Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
Thanks,
drew
More information about the linux-riscv
mailing list