diff options
Diffstat (limited to 'freebsd/sys/sys/systm.h')
-rw-r--r-- | freebsd/sys/sys/systm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/sys/sys/systm.h b/freebsd/sys/sys/systm.h index 18ca646f..5f894cf6 100644 --- a/freebsd/sys/sys/systm.h +++ b/freebsd/sys/sys/systm.h @@ -209,13 +209,13 @@ void critical_exit(void); static __inline void critical_enter(void) { - _Thread_Disable_dispatch(); + _Thread_Dispatch_disable(); } static __inline void critical_exit(void) { - _Thread_Enable_dispatch(); + _Thread_Dispatch_enable(_Per_CPU_Get()); } #endif /* __rtems__ */ void init_param1(void); |