X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/734aad71947a79037af64f74c683f5eb36fe6065..e3cf15b684ccf1496b6a682c8d46192674711eb2:/ppc/mach/mach_absolute_time.s diff --git a/ppc/mach/mach_absolute_time.s b/ppc/mach/mach_absolute_time.s index 172a323..5f35df3 100644 --- a/ppc/mach/mach_absolute_time.s +++ b/ppc/mach/mach_absolute_time.s @@ -23,14 +23,15 @@ * @APPLE_LICENSE_HEADER_END@ */ -#define __APPLE_API_PRIVATE -#include -#undef __APPLE_API_PRIVATE - #if defined(__ppc__) .text -.align 5 +.align 2 .globl _mach_absolute_time _mach_absolute_time: - ba _COMM_PAGE_ABSOLUTE_TIME +1: mftbu r3 + mftb r4 + mftbu r0 + cmpw r0,r3 + bne- 1b + blr #endif