Date: Sat, 9 Feb 2019 23:19:34 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r343946 - head/sys/powerpc/powerpc Message-ID: <201902092319.x19NJYcL055004@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902092319.x19NJYcL055004>