OpenBSD cvs log

created 2018-12-11T18:28:15Z
begin 2018-06-06T12:00:00Z
end 2018-06-06T15:00:00Z
path src/sys
commits 1

date 2018-06-06T12:58:05Z
author aoyama
files src/sys/arch/luna88k/luna88k/locore0.S log diff annotate
message Make sure cr17 matches curcpu() on non-MULTIPROCESSOR kernels.

This fixes that luna88k non-MULTIPROCESSOR kernel with option
DIAGNOSTIC (i.e. GENERIC) will hang silently at boot.

That problem had been caused after the addition of a
MUTEX_ASSERT_UNLOCKED check in kprintf() in sys/kern/subr_prf.c
1.95.

The diff is suggested from Miod Vallat, tested it on
non-MULTIPROCESSOR and MULTIPROCESSOR kernels by me.