X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/cb3231590a3c94ab4375e2228bd5e86b0cf1ad7e..2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752:/osfmk/arm/cpu_data.h?ds=sidebyside diff --git a/osfmk/arm/cpu_data.h b/osfmk/arm/cpu_data.h index 7b001d176..56d2a6eb8 100644 --- a/osfmk/arm/cpu_data.h +++ b/osfmk/arm/cpu_data.h @@ -109,13 +109,10 @@ exception_stack_pointer(void) #define getCpuDatap() current_thread()->machine.CpuDatap #define current_cpu_datap() getCpuDatap() -extern int get_preemption_level(void); -extern void _enable_preemption_no_check(void); +extern int get_preemption_level(void); -#define enable_preemption_no_check() _enable_preemption_no_check() -#define mp_disable_preemption() _disable_preemption() -#define mp_enable_preemption() _enable_preemption() -#define mp_enable_preemption_no_check() _enable_preemption_no_check() +#define mp_disable_preemption() _disable_preemption() +#define mp_enable_preemption() _enable_preemption() #endif /* MACH_KERNEL_PRIVATE */