All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/traps: remove duplicate include in traps.c
@ 2021-03-06  7:08 menglong8.dong
  0 siblings, 0 replies; only message in thread
From: menglong8.dong @ 2021-03-06  7:08 UTC (permalink / raw)
  To: mingo
  Cc: tglx, bp, x86, hpa, peterz, luto, alexandre.chartre, jroedel,
	linux-kernel, Zhang Yunkai

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

'proto.h' included in 'traps.c' is duplicated.

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
 arch/x86/kernel/traps.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 7f5aec758f0e..cb9b675dc003 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -61,14 +61,13 @@
 #include <asm/insn.h>
 #include <asm/insn-eval.h>
 #include <asm/vdso.h>
+#include <asm/proto.h>
 
 #ifdef CONFIG_X86_64
 #include <asm/x86_init.h>
-#include <asm/proto.h>
 #else
 #include <asm/processor-flags.h>
 #include <asm/setup.h>
-#include <asm/proto.h>
 #endif
 
 DECLARE_BITMAP(system_vectors, NR_VECTORS);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-06  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-06  7:08 [PATCH] x86/traps: remove duplicate include in traps.c menglong8.dong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.