aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2017-11-25 22:15:56 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2017-11-25 22:15:56 +0000
commit50d82d6f6ad83b3c56587ed3a618e760ea143f1b (patch)
tree8ce52b47f2e64a244a60609f0971a6082c17c0b3
parentc0650b2f69cb140064bbccfa337f40e53b704f5f (diff)
Notes
-rw-r--r--sys/powerpc/aim/mp_cpudep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/aim/mp_cpudep.c b/sys/powerpc/aim/mp_cpudep.c
index 94d3df51f0e5..435ef0b36a09 100644
--- a/sys/powerpc/aim/mp_cpudep.c
+++ b/sys/powerpc/aim/mp_cpudep.c
@@ -378,8 +378,10 @@ cpudep_ap_setup()
case IBMPOWER7PLUS:
case IBMPOWER8:
case IBMPOWER8E:
+#ifdef __powerpc64__
if (mfmsr() & PSL_HV)
mtspr(SPR_LPCR, mfspr(SPR_LPCR) | LPCR_LPES);
+#endif
break;
default:
#ifdef __powerpc64__