projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778e45d
)
arch/parisc/kernel: remove duplicate include in ptrace
author
Zhang Yunkai
<zhang.yunkai@zte.com.cn>
Thu, 4 Mar 2021 02:24:10 +0000
(18:24 -0800)
committer
Helge Deller
<deller@gmx.de>
Thu, 4 Mar 2021 08:12:29 +0000
(09:12 +0100)
'linux/compat.h' included in 'arch/parisc/kernel/ptrace.c' is duplicated.
It is also included in the 24th line.
Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/ptrace.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/ptrace.c
b/arch/parisc/kernel/ptrace.c
index 2127974982df9a029b9c8819a257debb30bb5f0c..65de6c4c9354d6754091435943146acc8a726483 100644
(file)
--- a/
arch/parisc/kernel/ptrace.c
+++ b/
arch/parisc/kernel/ptrace.c
@@
-567,8
+567,6
@@
static const struct user_regset_view user_parisc_native_view = {
};
#ifdef CONFIG_64BIT
-#include <linux/compat.h>
-
static int gpr32_get(struct task_struct *target,
const struct user_regset *regset,
struct membuf to)