HomeFreeBSD

powerpc/trap: Change prediction of NOFAULTING in trap_pfault()

Description

powerpc/trap: Change prediction of NOFAULTING in trap_pfault()

This was probably intended to match the amd64 check, but that tests
NOFAULTING against non-zero, while this checks against 0. We're most
likely to end up in this function when faulting is allowed, so
predict_true is the better option.

Details

Provenance
jhibbitsAuthored on Sat, Mar 29, 12:03 AM
Parents
rG1580f8d9c174: ixgbe: fix mailbox ack handling
Branches
Unknown
Tags
Unknown