]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/AT386/bbclock.c
xnu-344.tar.gz
[apple/xnu.git] / osfmk / i386 / AT386 / bbclock.c
index 9bad06a133c93dc80cee1cd892559c07e927d093..ffcad7a77b23af73a7d95691933b4d949a867572 100644 (file)
@@ -130,7 +130,7 @@ bbc_gettime(
                mp_disable_preemption();
                if (current_processor() != master_processor) {
                        mp_enable_preemption();
-                       thread_block((void (*)) 0);
+                       thread_block(THREAD_CONTINUE_NULL);
                } else {
                        mp_enable_preemption();
                }
@@ -185,7 +185,7 @@ bbc_settime(
                mp_disable_preemption();
                if (current_processor() != master_processor) {
                        mp_enable_preemption();
-                       thread_block((void (*)) 0);
+                       thread_block(THREAD_CONTINUE_NULL);
                } else { 
                        mp_enable_preemption();
                }