]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/compat.h
x86: merge ptrace_32/64.h
[linux-2.6-omap-h63xx.git] / include / asm-x86 / compat.h
index 53cb96b68a62bcb1f040e78381e9e9e562cbb0f8..66ba7987184ae1dfae314010a321a4908b4b4e55 100644 (file)
@@ -6,6 +6,7 @@
  */
 #include <linux/types.h>
 #include <linux/sched.h>
+#include <asm/user32.h>
 
 #define COMPAT_USER_HZ 100
 
@@ -180,6 +181,11 @@ struct compat_shmid64_ds {
        compat_ulong_t __unused5;
 };
 
+/*
+ * The type of struct elf_prstatus.pr_reg in compatible core dumps.
+ */
+typedef struct user_regs_struct32 compat_elf_gregset_t;
+
 /*
  * A pointer passed in from user mode. This should not
  * be used for syscall parameters, just declare them