mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-06 20:39:14 +08:00
powerpc: Fix interrupt profiling for e6500
This commit is contained in:
1 parent
d42cf3388e
commit
01ac1db824
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user