git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-arm
/
ptrace.h
diff --git
a/include/asm-arm/ptrace.h
b/include/asm-arm/ptrace.h
index
162c456
..
77adb7f
100644
(file)
--- a/
include/asm-arm/ptrace.h
+++ b/
include/asm-arm/ptrace.h
@@
-17,8
+17,15
@@
#define PTRACE_GETFPREGS 14
#define PTRACE_SETFPREGS 15
#define PTRACE_GETFPREGS 14
#define PTRACE_SETFPREGS 15
+#define PTRACE_GETWMMXREGS 18
+#define PTRACE_SETWMMXREGS 19
+
#define PTRACE_OLDSETOPTIONS 21
#define PTRACE_OLDSETOPTIONS 21
+#define PTRACE_GET_THREAD_AREA 22
+
+#define PTRACE_SET_SYSCALL 23
+
/*
* PSR bits
*/
/*
* PSR bits
*/
@@
-56,9
+63,11
@@
#ifndef __ASSEMBLY__
#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];
};
struct pt_regs {
long uregs[18];
};
@@
-131,12
+140,15
@@
static inline int valid_user_regs(struct pt_regs *regs)
#define instruction_pointer(regs) \
(pc_pointer((regs)->ARM_pc))
#define instruction_pointer(regs) \
(pc_pointer((regs)->ARM_pc))
-#ifdef __KERNEL__
-extern void show_regs(struct pt_regs *);
+#ifdef CONFIG_SMP
+extern unsigned long profile_pc(struct pt_regs *regs);
+#else
+#define profile_pc(regs) instruction_pointer(regs)
+#endif
-#define predicate(x) (x & 0xf0000000)
+#ifdef __KERNEL__
+#define predicate(x) ((x) & 0xf0000000)
#define PREDICATE_ALWAYS 0xe0000000
#define PREDICATE_ALWAYS 0xe0000000
-
#endif
#endif /* __ASSEMBLY__ */
#endif
#endif /* __ASSEMBLY__ */