summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormmel <mmel@FreeBSD.org>2016-02-04 17:01:38 +0000
committermmel <mmel@FreeBSD.org>2016-02-04 17:01:38 +0000
commit992d44365d2db42521c58f221c374be13f5c9e35 (patch)
treefa137d659254896ddc9ccdd1be595f081d503f91 /lib/libc
parent55fda5017767c3c7da549cc9a384bc668e70e185 (diff)
downloadFreeBSD-src-992d44365d2db42521c58f221c374be13f5c9e35.zip
FreeBSD-src-992d44365d2db42521c58f221c374be13f5c9e35.tar.gz
Replace broken implementation of fuswintr() and suswintr() by functions
which return -1 as well as on tier 1 archs. Remove block_userspace_access used only in these implementations. (1) These functions may be called in interrupt context and pcb_onfault can be already set in this time. Thus, prior pcb_onfault must be saved and restored afterwards. (2) The check that an abort came either from nested interrupt or while in critical section or holding not sleepable lock must be avoided for this case. These functions are called only for profiling reason, so there will be only small gain by making the code more complex.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud