summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-12-24 03:42:23 +0100
committerRichard Weinberger <richard@nod.at>2022-03-11 10:41:08 +0100
commit3bdd271bc8bef3e2b9ed72da529a6d0d9d0852b5 (patch)
treee4525ee915a9fe727c2c982427fef26ff33ed041 /arch
parentMAINTAINERS: Update UserModeLinux entry (diff)
downloadlinux-3bdd271bc8bef3e2b9ed72da529a6d0d9d0852b5.tar.xz
linux-3bdd271bc8bef3e2b9ed72da529a6d0d9d0852b5.zip
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@linux.alibaba.com> Fixes: dbba7f704aa0 ("um: stop polluting the namespace with registers.h contents") Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/um/syscalls_64.c1
1 files changed, 0 insertions, 1 deletions
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)