[PATCH] arch:powerpc:kernel: remove duplicate include in traps.c

menglong8.dong at gmail.com menglong8.dong at gmail.com
Thu Mar 4 15:49:43 AEDT 2021


From: Zhang Yunkai <zhang.yunkai at zte.com.cn>

'asm/tm.h' included in 'traps.c' is duplicated.
It is also included in the 62th line.

Signed-off-by: Zhang Yunkai <zhang.yunkai at zte.com.cn>
---
 arch/powerpc/kernel/traps.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 1583fd1c6010..dcdb93588828 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -53,7 +53,6 @@
 #ifdef CONFIG_PPC64
 #include <asm/firmware.h>
 #include <asm/processor.h>
-#include <asm/tm.h>
 #endif
 #include <asm/kexec.h>
 #include <asm/ppc-opcode.h>
-- 
2.25.1



More information about the Linuxppc-dev mailing list