* [PATCH] um: remove a duplicate include
@ 2021-12-24 2:46 ` Guo Zhengkui
0 siblings, 0 replies; 2+ messages in thread
From: Guo Zhengkui @ 2021-12-24 2:46 UTC (permalink / raw)
To: Jeff Dike, Richard Weinberger, Anton Ivanov, Thomas Gleixner,
Ingo Molnar, Borislav Petkov, Dave Hansen,
maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
H. Peter Anvin, open list:USER-MODE LINUX (UML),
open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)
Cc: kernel, Guo Zhengkui
Remove a duplicate "#include <registers.h>" in line 15.
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] um: remove a duplicate include
@ 2021-12-24 2:46 ` Guo Zhengkui
0 siblings, 0 replies; 2+ messages in thread
From: Guo Zhengkui @ 2021-12-24 2:46 UTC (permalink / raw)
To: Jeff Dike, Richard Weinberger, Anton Ivanov, Thomas Gleixner,
Ingo Molnar, Borislav Petkov, Dave Hansen,
maintainer:X86 ARCHITECTURE 32-BIT AND 64-BIT, H. Peter Anvin,
open list:USER-MODE LINUX UML,
open list:X86 ARCHITECTURE 32-BIT AND 64-BIT
Cc: kernel, Guo Zhengkui
Remove a duplicate "#include <registers.h>" in line 15.
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.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
_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-24 2:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-24 2:46 [PATCH] um: remove a duplicate include Guo Zhengkui
2021-12-24 2:46 ` Guo Zhengkui
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.