git: 6f568b14cbd0 - main - powerpc cpu_idle_booke: Move read of mfmsr under #ifdef BOOKE_E500.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Apr 2022 19:08:58 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6f568b14cbd00c31188912074a680d2b198b33d0 commit 6f568b14cbd00c31188912074a680d2b198b33d0 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-18 19:07:34 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-18 19:07:34 +0000 powerpc cpu_idle_booke: Move read of mfmsr under #ifdef BOOKE_E500. Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D34891 --- sys/powerpc/powerpc/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/powerpc/cpu.c b/sys/powerpc/powerpc/cpu.c index a8353a30d0aa..d1fc89b410eb 100644 --- a/sys/powerpc/powerpc/cpu.c +++ b/sys/powerpc/powerpc/cpu.c @@ -784,11 +784,11 @@ cpu_idle_e500mc(sbintime_t sbt) static void cpu_idle_booke(sbintime_t sbt) { +#ifdef BOOKE_E500 register_t msr; msr = mfmsr(); -#ifdef BOOKE_E500 powerpc_sync(); mtmsr(msr | PSL_WE); #endif