summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-06-27 22:56:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-28 17:55:00 +0100
commit5429b060df6d556f396b78364ad017686015bc34 (patch)
tree48b088aa6eb65e856df91e296447f6a7ea394644 /include
parent3bec6ded282b331552587267d67a06ed7fd95ddd (diff)
downloadlinux-5429b060df6d556f396b78364ad017686015bc34.tar.bz2
[ARM] 3665/1: crunch: add ptrace support
Patch from Lennert Buytenhek This patch makes it possible to get/set a task's Crunch state via the ptrace(2) system call. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/ptrace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/ptrace.h b/include/asm-arm/ptrace.h
index 2bebe3dc0a30..5a8ef787dbf8 100644
--- a/include/asm-arm/ptrace.h
+++ b/include/asm-arm/ptrace.h
@@ -25,6 +25,11 @@
#define PTRACE_SET_SYSCALL 23
+/* PTRACE_SYSCALL is 24 */
+
+#define PTRACE_GETCRUNCHREGS 25
+#define PTRACE_SETCRUNCHREGS 26
+
/*
* PSR bits
*/