summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/ptrace.h
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2009-07-05 21:59:56 +0200
committerKyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com>2009-09-28 05:07:23 +0200
commit40e03b6857051ea61ebdb4a53e65485acfb1d98e (patch)
treeb3bc174fe6e3572c827a6f55adf4c004d0056158 /arch/parisc/include/asm/ptrace.h
parentparisc: stop using task->ptrace for {single,block}step flags (diff)
downloadlinux-40e03b6857051ea61ebdb4a53e65485acfb1d98e.tar.xz
linux-40e03b6857051ea61ebdb4a53e65485acfb1d98e.zip
parisc: add skeleton syscall.h
Needed for lib/syscall.c when HAVE_ARCH_TRACEHOOK. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/include/asm/ptrace.h')
-rw-r--r--arch/parisc/include/asm/ptrace.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/ptrace.h b/arch/parisc/include/asm/ptrace.h
index 302f68dc889c..aead40b16dd8 100644
--- a/arch/parisc/include/asm/ptrace.h
+++ b/arch/parisc/include/asm/ptrace.h
@@ -59,8 +59,11 @@ void user_enable_block_step(struct task_struct *task);
#define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0)
#define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0)
#define instruction_pointer(regs) ((regs)->iaoq[0] & ~3)
+#define user_stack_pointer(regs) ((regs)->gr[30])
unsigned long profile_pc(struct pt_regs *);
extern void show_regs(struct pt_regs *);
-#endif
+
+
+#endif /* __KERNEL__ */
#endif