[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211224024223.9356-1-yang.lee@linux.alibaba.com>
Date: Fri, 24 Dec 2021 10:42:23 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: jdike@...toit.com, viro@...iv.linux.org.uk
Cc: richard@....at, anton.ivanov@...bridgegreys.com,
tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, x86@...nel.org, hpa@...or.com,
linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org,
Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] um: Remove duplicated include in syscalls_64.c
Fix following includecheck warning:
./arch/x86/um/syscalls_64.c: registers.h is included more than once.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Fixes: dbba7f704aa0 ("um: stop polluting the namespace with registers.h contents")
Signed-off-by: Yang Li <yang.lee@...ux.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
Powered by blists - more mailing lists