* [PATCH -next] um: Remove duplicated include in syscalls_64.c
@ 2021-12-24 2:42 Yang Li
0 siblings, 0 replies; only message in thread
From: Yang Li @ 2021-12-24 2:42 UTC (permalink / raw)
To: jdike, viro
Cc: richard, anton.ivanov, tglx, mingo, bp, dave.hansen, x86, hpa,
linux-um, linux-kernel, Yang Li, Abaci Robot
Fix following includecheck warning:
./arch/x86/um/syscalls_64.c: registers.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: dbba7f704aa0 ("um: stop polluting the namespace with registers.h contents")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
arch/x86/um/syscalls_64.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/um/syscalls_64.c b/arch/x86/um/syscalls_64.c
index fe5323f0c42d..27b29ae6c471 100644
--- a/arch/x86/um/syscalls_64.c
+++ b/arch/x86/um/syscalls_64.c
@@ -12,7 +12,6 @@
#include <asm/prctl.h> /* XXX This should get the constants from libc */
#include <registers.h>
#include <os.h>
-#include <registers.h>
long arch_prctl(struct task_struct *task, int option,
unsigned long __user *arg2)
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-24 2:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-24 2:42 [PATCH -next] um: Remove duplicated include in syscalls_64.c Yang Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox