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
This commit is contained in:
jhibbits 2016-09-03 04:09:03 +00:00
parent 520f999faa
commit 858a8fb479

View File

@ -663,7 +663,7 @@ static void
cpu_idle_booke(sbintime_t sbt)
{
#ifdef E500
#ifdef BOOKE_E500
platform_cpu_idle(PCPU_GET(cpuid));
#endif
}