]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/mach_get_times.c
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / libsyscall / wrappers / mach_get_times.c
index 4a8a3f19e327d4a946347a6f6e04ee8fa53bc84c..daf4e9bb748c1c76e77009dd733f4b4cfb26a5b8 100644 (file)
@@ -64,12 +64,7 @@ mach_get_times(uint64_t* absolute_time, uint64_t* cont_time, struct timespec *tp
                        if (__gettimeofday_with_mach(&tv, NULL, &tbr) < 0) {
                                return KERN_FAILURE;
                        } else if (tbr == 0) {
-#if !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
-                               // On an old kernel, likely chroot'ed. (remove next year)
-                               tbr = mach_absolute_time();
-#else
                                __builtin_trap();
-#endif
                        }
                }