diff options
author | 2020-11-07 03:49:06 +0000 | |
---|---|---|
committer | 2020-11-07 03:49:06 +0000 | |
commit | 0e92236cf0db657769bad3b68eaa4fc9245c867f (patch) | |
tree | 19c3f20d1d6c1b3831ff23fb29cae136eb00015a /lib/libm/src | |
parent | Actually m88k assembler can not handle 'nop' mnemonic, use a macro instead. (diff) | |
download | wireguard-openbsd-0e92236cf0db657769bad3b68eaa4fc9245c867f.tar.xz wireguard-openbsd-0e92236cf0db657769bad3b68eaa4fc9245c867f.zip |
change from rwlock(9) to mutex(9) for linux rwlocks
Linux rwlocks are read/write spin locks which don't sleep.
Fixes a panic claudio@ reported with a WITNESS kernel on inteldrm(4)
'panic: acquiring blockable sleep lock with spinlock or critical section
held (rwlock) drmvma'
Patch from kettenis@ with a small tweak from me. ok kettenis@
Diffstat (limited to 'lib/libm/src')
0 files changed, 0 insertions, 0 deletions