HomeFreeBSD

Revert part of r331264: disable interrupts before disabling WP.

Description

Revert part of r331264: disable interrupts before disabling WP.

We might otherwise be preempted, leaving WP disabled while another
thread runs on the CPU.

Reported by: kib
X-MFC with: r331264

Details

Provenance
markjAuthored on
Parents
rS331267: Update to include information about using SPDX-License-Identifier
Branches
Unknown
Tags
Unknown