]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc: Remove duplicate includes
authorWan Jiabing <wanjiabing@vivo.com>
Tue, 23 Mar 2021 06:29:05 +0000 (14:29 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Aug 2021 23:25:23 +0000 (09:25 +1000)
interrupt.c: asm/interrupt.h has been included at line 12, so remove the
duplicate one at line 10.

time.c: linux/sched/clock.h has been included at line 33,so remove the
duplicate one at line 56 and move sched/cputime.h under sched including
segament.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210323062916.295346-1-wanjiabing@vivo.com
arch/powerpc/kernel/interrupt.c
arch/powerpc/kernel/time.c

index 21bbd615ca41033b3051b86621f53f471652e6ec..abc2b3dc3f20cb1f5b05d612b9b860c7a2fa4924 100644 (file)
@@ -8,7 +8,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>
index e45ce427bffb1f51ab52c801cf51184378a3e1ef..77bae85e2fae9e27e231edf13de59a923e3b409a 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/clock.h>
+#include <linux/sched/cputime.h>
 #include <linux/kernel.h>
 #include <linux/param.h>
 #include <linux/string.h>
@@ -52,8 +53,6 @@
 #include <linux/irq_work.h>
 #include <linux/of_clk.h>
 #include <linux/suspend.h>
-#include <linux/sched/cputime.h>
-#include <linux/sched/clock.h>
 #include <linux/processor.h>
 #include <asm/trace.h>