summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-11-07 03:30:59 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-11-07 03:30:59 +0000
commite11eaace99dc4ea0704b20e623af4f105fb168ee (patch)
treec38d8e5677e7da986eceac11699097d1daa55219 /sys
parent6769bcc4bd4a1f1cafe4acd41887e09299e41225 (diff)
Hide FIX_SSTEP() behind #ifdef _KERNEL
ok deraadt@
Diffstat (limited to 'sys')
-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