Skip to content

Commit 816a697

Browse files
Andrew Jonespalmer-dabbelt
authored andcommitted
riscv: cpufeature: Drop errata_list.h and other unused includes
Drop errata_list.h, since cpufeature.c includes hwcap.h directly to get cpufeature IDs. And, while there, prune the rest of the unused includes too. Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Link: https://lore.kernel.org/r/20230224154601.88163-7-ajones@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 28ea374 commit 816a697

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

arch/riscv/kernel/cpufeature.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,15 @@
88

99
#include <linux/bitmap.h>
1010
#include <linux/ctype.h>
11-
#include <linux/libfdt.h>
1211
#include <linux/log2.h>
1312
#include <linux/memory.h>
1413
#include <linux/module.h>
1514
#include <linux/of.h>
1615
#include <asm/alternative.h>
1716
#include <asm/cacheflush.h>
18-
#include <asm/errata_list.h>
1917
#include <asm/hwcap.h>
2018
#include <asm/patch.h>
21-
#include <asm/pgtable.h>
2219
#include <asm/processor.h>
23-
#include <asm/smp.h>
24-
#include <asm/switch_to.h>
2520

2621
#define NUM_ALPHA_EXTS ('z' - 'a' + 1)
2722

0 commit comments

Comments
 (0)