Date: Thu, 1 Feb 2018 05:28:02 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328650 - head/sys/powerpc/aim Message-ID: <201802010528.w115S2WL080400@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Thu Feb 1 05:28:02 2018 New Revision: 328650 URL: https://svnweb.freebsd.org/changeset/base/328650 Log: Fix build on 32-bit PowerPC, broken in r328537. Modified: head/sys/powerpc/aim/mp_cpudep.c Modified: head/sys/powerpc/aim/mp_cpudep.c ============================================================================== --- head/sys/powerpc/aim/mp_cpudep.c Thu Feb 1 02:00:36 2018 (r328649) +++ head/sys/powerpc/aim/mp_cpudep.c Thu Feb 1 05:28:02 2018 (r328650) @@ -85,15 +85,20 @@ cpudep_ap_early_bootstrap(void) break; case IBMPOWER8: case IBMPOWER8E: +#ifdef __powerpc64__ if (mfmsr() & PSL_HV) { isync(); - /* Direct interrupts to SRR instead of HSRR and reset LPCR otherwise */ + /* + * Direct interrupts to SRR instead of HSRR and + * reset LPCR otherwise + */ mtspr(SPR_LPID, 0); isync(); mtspr(SPR_LPCR, LPCR_LPES); isync(); } +#endif break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802010528.w115S2WL080400>