freebsd-dev/sys/cddl
Mark Johnston 1de56ac728 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
2018-03-20 21:36:35 +00:00
..
boot/zfs Mark two things as unused (since they are only sometimes used) and 2017-12-03 04:55:33 +00:00
compat/opensolaris Don't declare __assfail as static 2018-02-25 14:29:43 +00:00
contrib/opensolaris Fix an access of an uninitialized variable in dtrace_probe(). 2018-03-18 17:01:50 +00:00
dev Revert part of r331264: disable interrupts before disabling WP. 2018-03-20 21:36:35 +00:00