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

Samuel Holland samuel.holland at sifive.com
Tue Mar 12 11:02:33 PDT 2024


On 2024-02-12 5:36 PM, Charlie Jenkins wrote:
> This include is not used. Remove it to avoid a circular dependency in
> the next patch in the series.
> 
> Signed-off-by: Charlie Jenkins <charlie at rivosinc.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 */
> 

Reviewed-by: Samuel Holland <samuel.holland at sifive.com>




More information about the linux-riscv mailing list