2021-03-23 02:45:18

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] arch: powerpc: Remove duplicate include of interrupt.h

asm/interrupt.h has been included at line 12. According to
alphabetic order,we remove the duplicate one at line 10.

Signed-off-by: Wan Jiabing <[email protected]>
---
arch/powerpc/kernel/interrupt.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/kernel/interrupt.c b/arch/powerpc/kernel/interrupt.c
index c475a229a42a..11d456896772 100644
--- a/arch/powerpc/kernel/interrupt.c
+++ b/arch/powerpc/kernel/interrupt.c
@@ -7,7 +7,6 @@
#include <asm/asm-prototypes.h>
#include <asm/kup.h>
#include <asm/cputime.h>
-#include <asm/interrupt.h>
#include <asm/hw_irq.h>
#include <asm/interrupt.h>
#include <asm/kprobes.h>
--
2.25.1


2021-03-23 05:43:46

by Christophe Leroy

[permalink] [raw]
Subject: Re: [PATCH] arch: powerpc: Remove duplicate include of interrupt.h



Le 23/03/2021 à 03:41, Wan Jiabing a écrit :
> asm/interrupt.h has been included at line 12. According to
> alphabetic order,we remove the duplicate one at line 10.

Could you please cook a single patch for all files in arch/powerpc/

Thanks
Christophe

>
> Signed-off-by: Wan Jiabing <[email protected]>
> ---
> arch/powerpc/kernel/interrupt.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/powerpc/kernel/interrupt.c b/arch/powerpc/kernel/interrupt.c
> index c475a229a42a..11d456896772 100644
> --- a/arch/powerpc/kernel/interrupt.c
> +++ b/arch/powerpc/kernel/interrupt.c
> @@ -7,7 +7,6 @@
> #include <asm/asm-prototypes.h>
> #include <asm/kup.h>
> #include <asm/cputime.h>
> -#include <asm/interrupt.h>
> #include <asm/hw_irq.h>
> #include <asm/interrupt.h>
> #include <asm/kprobes.h>
>