diff options
Diffstat (limited to 'c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_async_normal.S')
-rw-r--r-- | c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_async_normal.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_async_normal.S b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_async_normal.S index 4c9d8aa3f0..34777e556b 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_async_normal.S +++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_async_normal.S @@ -54,7 +54,9 @@ #define ENTRY_INSTANT_OFFSET GPR13_OFFSET .macro GET_TIME_BASE REG -#ifdef ppc8540 +#if defined(__PPC_CPU_E6500__) + mfspr \REG, FSL_EIS_ATBL +#elif defined(ppc8540) mfspr \REG, TBRL #else /* ppc8540 */ mftb \REG |