summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/include/psl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/include/psl.h')
-rw-r--r--sys/arch/sun3/include/psl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/sun3/include/psl.h b/sys/arch/sun3/include/psl.h
index 4fe2914b7d0..d3daa930e6c 100644
--- a/sys/arch/sun3/include/psl.h
+++ b/sys/arch/sun3/include/psl.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: psl.h,v 1.6 1997/01/16 04:04:10 kstailey Exp $ */
/* $NetBSD: psl.h,v 1.10 1996/11/20 18:57:17 gwr Exp $ */
/*-
@@ -108,5 +109,8 @@ extern __inline__ int _spl(int new)
#define splhigh() spl7()
#define splsched() spl7()
+/* Get current sr value (debug, etc.) */
+extern int getsr __P((void));
+
#endif /* KERNEL && !_LOCORE */
#endif /* PSL_C */