powerpc: Fix AIM build

cpu_idle_e500mc is only used in booke, so ignore it completely in AIM.

MFC after:	2 weeks
MFC with:	r343944
This commit is contained in:
Justin Hibbits 2019-02-09 23:19:33 +00:00
parent 78c8b9477c
commit 83191e19b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343946

View File

@ -89,7 +89,9 @@ int powerpc_pow_enabled;
void (*cpu_idle_hook)(sbintime_t) = NULL;
static void cpu_idle_60x(sbintime_t);
static void cpu_idle_booke(sbintime_t);
#ifdef BOOKE_E500
static void cpu_idle_e500mc(sbintime_t sbt);
#endif
#if defined(__powerpc64__) && defined(AIM)
static void cpu_idle_powerx(sbintime_t);
static void cpu_idle_power9(sbintime_t);
@ -756,6 +758,7 @@ cpu_idle_60x(sbintime_t sbt)
#endif
}
#ifdef BOOKE_E500
static void
cpu_idle_e500mc(sbintime_t sbt)
{
@ -765,6 +768,7 @@ cpu_idle_e500mc(sbintime_t sbt)
*/
__asm __volatile(".long 0x7c00007c");
}
#endif
static void
cpu_idle_booke(sbintime_t sbt)