]> err.no Git - linux-2.6/blobdiff - include/asm-arm/ptrace.h
[PATCH] libata: update ata_do_simple_cmd()
[linux-2.6] / include / asm-arm / ptrace.h
index 4377e22b7e1a9a7359d1e6255e4098b1227e7aa2..2bebe3dc0a30c5a8be30081d11f2e14fa798f4da 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef __ASM_ARM_PTRACE_H
 #define __ASM_ARM_PTRACE_H
 
-#include <linux/config.h>
 
 #define PTRACE_GETREGS         12
 #define PTRACE_SETREGS         13
@@ -23,6 +22,9 @@
 #define PTRACE_OLDSETOPTIONS   21
 
 #define PTRACE_GET_THREAD_AREA 22
+
+#define PTRACE_SET_SYSCALL     23
+
 /*
  * PSR bits
  */
 
 #ifndef __ASSEMBLY__
 
-/* this struct defines the way the registers are stored on the
-   stack during a system call. */
-
+/*
+ * This struct defines the way the registers are stored on the
+ * stack during a system call.  Note that sizeof(struct pt_regs)
+ * has to be a multiple of 8.
+ */
 struct pt_regs {
        long uregs[18];
 };