[PATCH v13 1/4] riscv: Remove unnecessary irqflags processor.h include

Charlie Jenkins charlie at rivosinc.com
Tue Mar 12 16:53:40 PDT 2024


This include is not used and can lead to circular dependencies.

Signed-off-by: Charlie Jenkins <charlie at rivosinc.com>
Reviewed-by: Samuel Holland <samuel.holland at sifive.com>
---
 arch/riscv/include/asm/irqflags.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/include/asm/irqflags.h b/arch/riscv/include/asm/irqflags.h
index 08d4d6a5b7e9..6fd8cbfcfcc7 100644
--- a/arch/riscv/include/asm/irqflags.h
+++ b/arch/riscv/include/asm/irqflags.h
@@ -7,7 +7,6 @@
 #ifndef _ASM_RISCV_IRQFLAGS_H
 #define _ASM_RISCV_IRQFLAGS_H
 
-#include <asm/processor.h>
 #include <asm/csr.h>
 
 /* read interrupt enabled status */

-- 
2.43.2




More information about the linux-riscv mailing list