Re: [PATCH v2 1/2] riscv: Rearrange hwcap.h and cpufeature.h
From: Andrew Jones
Date: Wed Sep 20 2023 - 04:29:14 EST
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@xxxxxxxxx>
Suggested-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
Thanks,
drew