#define PTRACE_OLDSETOPTIONS 21
+#define PTRACE_GET_THREAD_AREA 22
/*
* PSR bits
*/
#define instruction_pointer(regs) \
(pc_pointer((regs)->ARM_pc))
+#ifdef CONFIG_SMP
+extern unsigned long profile_pc(struct pt_regs *regs);
+#else
+#define profile_pc(regs) instruction_pointer(regs)
+#endif
+
#ifdef __KERNEL__
extern void show_regs(struct pt_regs *);