]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/arm/cpu_data.h
xnu-7195.60.75.tar.gz
[apple/xnu.git] / osfmk / arm / cpu_data.h
index 7b001d176e6a23f8e10df72cbc14a91e361a1623..56d2a6eb8834535fd3f1d7a94a1452e40abf8b59 100644 (file)
@@ -109,13 +109,10 @@ exception_stack_pointer(void)
 #define getCpuDatap()            current_thread()->machine.CpuDatap
 #define current_cpu_datap()      getCpuDatap()
 
 #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 */
 
 
 #endif  /* MACH_KERNEL_PRIVATE */