svn commit: r305320 - head/sys/powerpc/powerpc
Justin Hibbits
jhibbits at FreeBSD.org
Sat Sep 3 04:09:04 UTC 2016
Author: jhibbits
Date: Sat Sep 3 04:09:03 2016
New Revision: 305320
URL: https://svnweb.freebsd.org/changeset/base/305320
Log:
Use the right ifdef macro.
"E500" is not defined, but "BOOKE_E500" is. Without this the idle hook cannot
be called.
MFC after: 1 week
Modified:
head/sys/powerpc/powerpc/cpu.c
Modified: head/sys/powerpc/powerpc/cpu.c
==============================================================================
--- head/sys/powerpc/powerpc/cpu.c Sat Sep 3 03:14:24 2016 (r305319)
+++ head/sys/powerpc/powerpc/cpu.c Sat Sep 3 04:09:03 2016 (r305320)
@@ -663,7 +663,7 @@ static void
cpu_idle_booke(sbintime_t sbt)
{
-#ifdef E500
+#ifdef BOOKE_E500
platform_cpu_idle(PCPU_GET(cpuid));
#endif
}
More information about the svn-src-head
mailing list