powerpc: Fix interrupt profiling for e6500

This commit is contained in:
Sebastian Huber
2016-11-24 08:32:01 +01:00
parent d42cf3388e
commit 01ac1db824

View File

@@ -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