[PATCH 5/5] riscv: cpufeature: Drop unused includes
Conor Dooley
conor at kernel.org
Thu Feb 23 15:29:43 PST 2023
On Tue, Feb 21, 2023 at 07:56:03PM +0100, Andrew Jones wrote:
> Do some additional include pruning while dropping errata_list.h,
> which is getting dropped, since cpufeature.c includes hwcap.h
> directly to get cpufeature IDs.
This commit message is a wee bit confusingly written. Not advocating
for a respin by any means, but putting the thing that motivated the
change before the opportunistic cleanups would have made more sense to
me. /shrug
Reviewed-by: Conor Dooley <conor.dooley at microchip.com>
> Signed-off-by: Andrew Jones <ajones at ventanamicro.com>
> ---
> arch/riscv/kernel/cpufeature.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/riscv/kernel/cpufeature.c b/arch/riscv/kernel/cpufeature.c
> index 85c99ae64017..151e1a715db9 100644
> --- a/arch/riscv/kernel/cpufeature.c
> +++ b/arch/riscv/kernel/cpufeature.c
> @@ -8,19 +8,14 @@
>
> #include <linux/bitmap.h>
> #include <linux/ctype.h>
> -#include <linux/libfdt.h>
> #include <linux/log2.h>
> #include <linux/module.h>
> #include <linux/of.h>
> #include <asm/alternative.h>
> #include <asm/cacheflush.h>
> -#include <asm/errata_list.h>
> #include <asm/hwcap.h>
> #include <asm/patch.h>
> -#include <asm/pgtable.h>
> #include <asm/processor.h>
> -#include <asm/smp.h>
> -#include <asm/switch_to.h>
>
> #define NUM_ALPHA_EXTS ('z' - 'a' + 1)
>
> --
> 2.39.1
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20230223/16ec8659/attachment.sig>
More information about the linux-riscv
mailing list