HomeFreeBSD

powerpc64: Fix early exit with invalid kernel SLB entries

Description

powerpc64: Fix early exit with invalid kernel SLB entries

The check for early exit should be checking the SLB entry itself. As
currently written it was checking the address of the SLB, which is always
non-zero, so would go through the kernel SR restore loop regardless.

Submitted by: mmacy
MFC after: 2 weeks

Details

Provenance
jhibbitsAuthored on
Parents
rS344915: powerpc: Fix cpufreq statement scoping
Branches
Unknown
Tags
Unknown