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
 }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to