Module Name: src Committed By: riastradh Date: Sun Oct 27 12:12:53 UTC 2024
Modified Files: src/sys/dev/acpi: apei_hest.c Log Message: apei(4): Use __SIMPLELOCK_UNLOCKED to initialize __cpu_simple_lock_t. Zero-initialization is wrong on some architectures. While it happens to work on x86 (and this is under ifdef x86), let's just do the right thing to make it clearer. Noticed while preparing for: PR kern/58775: apei(4) spamming console To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/acpi/apei_hest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.