summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/sparc/process_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/sparc/process_machdep.c')
-rw-r--r--sys/arch/sparc/sparc/process_machdep.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/process_machdep.c b/sys/arch/sparc/sparc/process_machdep.c
index 7c1cb4e569d..a3b2e940c24 100644
--- a/sys/arch/sparc/sparc/process_machdep.c
+++ b/sys/arch/sparc/sparc/process_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process_machdep.c,v 1.6 2003/06/02 23:27:55 millert Exp $ */
+/* $OpenBSD: process_machdep.c,v 1.7 2004/02/08 00:04:21 deraadt Exp $ */
/* $NetBSD: process_machdep.c,v 1.6 1996/03/14 21:09:26 christos Exp $ */
/*
@@ -140,4 +140,11 @@ process_write_fpregs(p, regs)
return 0;
}
+register_t
+process_get_wcookie(p)
+ struct proc *p;
+{
+ return p->p_addr->u_pcb.pcb_wcookie;
+}
+
#endif /* PTRACE */