svn commit: r343946 - head/sys/powerpc/powerpc
Justin Hibbits
jhibbits at FreeBSD.org
Sat Feb 9 23:19:34 UTC 2019
Author: jhibbits
Date: Sat Feb 9 23:19:33 2019
New Revision: 343946
URL: https://svnweb.freebsd.org/changeset/base/343946
Log:
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
Modified:
head/sys/powerpc/powerpc/cpu.c
Modified: head/sys/powerpc/powerpc/cpu.c
==============================================================================
--- head/sys/powerpc/powerpc/cpu.c Sat Feb 9 21:33:32 2019 (r343945)
+++ head/sys/powerpc/powerpc/cpu.c Sat Feb 9 23:19:33 2019 (r343946)
@@ -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)
More information about the svn-src-all
mailing list