summaryrefslogtreecommitdiff
path: root/arch/x86/um/shared/sysdep/skas_ptrace.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-11-04 18:15:29 +0400
committerPaul Mundt <lethal@linux-sh.org>2011-11-04 18:15:29 +0400
commitd63638440cfad75fb339fd1261bea0485c7c3ecc (patch)
treed1705ceeef82eb0b7b58f9503a472be810f418f2 /arch/x86/um/shared/sysdep/skas_ptrace.h
parentf1e0477a7b7a541f51eea279910eed4ddd010033 (diff)
parent1a67a573b8d9f02211f36fbab50f6265dc49384a (diff)
downloadlinux-d63638440cfad75fb339fd1261bea0485c7c3ecc.tar.xz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into rmobile-latest
Diffstat (limited to 'arch/x86/um/shared/sysdep/skas_ptrace.h')
-rw-r--r--arch/x86/um/shared/sysdep/skas_ptrace.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/x86/um/shared/sysdep/skas_ptrace.h b/arch/x86/um/shared/sysdep/skas_ptrace.h
new file mode 100644
index 000000000000..453febe98993
--- /dev/null
+++ b/arch/x86/um/shared/sysdep/skas_ptrace.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
+ * Licensed under the GPL
+ */
+
+#ifndef __SYSDEP_X86_SKAS_PTRACE_H
+#define __SYSDEP_X86_SKAS_PTRACE_H
+
+struct ptrace_faultinfo {
+ int is_write;
+ unsigned long addr;
+};
+
+struct ptrace_ldt {
+ int func;
+ void *ptr;
+ unsigned long bytecount;
+};
+
+#define PTRACE_LDT 54
+
+#endif