HomeFreeBSD

powerpc64: Fix switch panic from cpu_throw()

Description

powerpc64: Fix switch panic from cpu_throw()

r18 is used to hold the old PCB flags, but cpu_throw doesn't populate r18
with PCB flags, since the old thread is gone. This can lead to panics on
cores that don't have the registers guarded by these flags.

Details

Provenance
jhibbitsAuthored on
Parents
rS346934: MFC r341172, r341270.
Branches
Unknown
Tags
Unknown