Module Name:    src
Committed By:   maxv
Date:           Tue Mar 13 16:52:42 UTC 2018

Modified Files:
        src/sys/arch/x86/x86: patch.c

Log Message:
Fix wrong order; first enable WP, then enable interrupts. Otherwise we
might get an interrupt before re-enabling WP, and be rescheduled as a
result. In practice it never happens, because the previous PSL always
has interrupts disabled too.

To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x86/x86/patch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to