summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorZhang Yunkai <zhang.yunkai@zte.com.cn>2021-03-03 18:24:10 -0800
committerHelge Deller <deller@gmx.de>2021-03-04 09:12:29 +0100
commit460c9f1c944b4bf04f2934478fd3f865b730b771 (patch)
tree190c2346f6b997acdf2a6fd3f427e61b85937e14 /arch/parisc
parent778e45d7720d663811352943dd515b41f6849637 (diff)
downloadlinux-460c9f1c944b4bf04f2934478fd3f865b730b771.tar.gz
linux-460c9f1c944b4bf04f2934478fd3f865b730b771.tar.bz2
linux-460c9f1c944b4bf04f2934478fd3f865b730b771.zip
arch/parisc/kernel: remove duplicate include in ptrace
'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>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/ptrace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c
index 2127974982df..65de6c4c9354 100644
--- 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)