HomeFreeBSD

Correctly set the DAIF bits in new threads

Description

Correctly set the DAIF bits in new threads

We should only unmask interrupts when creating a new thread and leave the
other exceptions in teh same state as before creating the thread.

Reported by: jhibbits
Reviewed by: jhibbits
MFC after: 1 month
Sponsored by: https://reviews.freebsd.org/D17497

Details

Provenance
andrewAuthored on
Reviewer
jhibbits
Parents
rS339591: ichwd: add support for TCO watchdog timer in Lewisburg PCH (C620)
Branches
Unknown
Tags
Unknown