summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r--sys/arch/alpha/include/ptrace.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/ptrace.h b/sys/arch/alpha/include/ptrace.h
index 7ca5e63a309..298eee25fc1 100644
--- a/sys/arch/alpha/include/ptrace.h
+++ b/sys/arch/alpha/include/ptrace.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.h,v 1.5 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: ptrace.h,v 1.6 2016/11/07 03:30:58 guenther Exp $ */
/* $NetBSD: ptrace.h,v 1.1 1995/02/13 23:07:51 cgd Exp $ */
/*
@@ -43,6 +43,8 @@
#define PT_SETFPREGS (PT_FIRSTMACH + 3)
#define PT_STEP (PT_FIRSTMACH + 4)
-#define FIX_SSTEP(p) process_sstep(p, 0)
+#ifdef _KERNEL
+# define FIX_SSTEP(p) process_sstep(p, 0)
+#endif
#endif