summaryrefslogtreecommitdiff
path: root/arch/x86/um/ptrace_32.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-06-25 23:44:11 +0300
committerRichard Weinberger <richard@nod.at>2015-06-25 23:44:11 +0300
commitda028d5e5463dabb6ede2f5e3f6cced1283988cc (patch)
tree5ca1836a6825c6f933302193701ca25b89f83317 /arch/x86/um/ptrace_32.c
parent8eeba4e9a76cd126e737d3d303d9c424b66ea90d (diff)
downloadlinux-da028d5e5463dabb6ede2f5e3f6cced1283988cc.tar.xz
um: Don't pollute kernel namespace with uapi
Don't include ptrace uapi stuff in arch headers, it will pollute the kernel namespace and conflict with existing stuff. In this case it fixes clashes with common names like R8. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/ptrace_32.c')
-rw-r--r--arch/x86/um/ptrace_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/um/ptrace_32.c b/arch/x86/um/ptrace_32.c
index ce3dd4f36f3f..a29756f2d940 100644
--- a/arch/x86/um/ptrace_32.c
+++ b/arch/x86/um/ptrace_32.c
@@ -6,6 +6,7 @@
#include <linux/mm.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
+#include <asm/ptrace-abi.h>
#include <skas.h>
extern int arch_switch_tls(struct task_struct *to);