summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/cpufunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include/cpufunc.h')
-rw-r--r--sys/alpha/include/cpufunc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/alpha/include/cpufunc.h b/sys/alpha/include/cpufunc.h
index 51a1fdc..dbee911 100644
--- a/sys/alpha/include/cpufunc.h
+++ b/sys/alpha/include/cpufunc.h
@@ -35,6 +35,8 @@
#include <machine/chipset.h>
#include <machine/alpha_cpu.h>
+#define CRITICAL_FORK (ALPHA_PSL_IPL_0)
+
#ifdef __GNUC__
static __inline void
@@ -46,13 +48,13 @@ breakpoint(void)
#endif
static __inline critical_t
-critical_enter(void)
+cpu_critical_enter(void)
{
return (alpha_pal_swpipl(ALPHA_PSL_IPL_MCES));
}
static __inline void
-critical_exit(critical_t ipl)
+cpu_critical_exit(critical_t ipl)
{
alpha_pal_swpipl(ipl);
}
OpenPOWER on IntegriCloud