summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2020-10-02 14:36:54 +0000
committerkamil <kamil@NetBSD.org>2020-10-02 14:36:54 +0000
commit8db170eb98b8136348b555601022cd5774716db5 (patch)
tree8c740a9e070b6e853015a41dd0f380cff3e4d63d /sys/dev
parent5e632b31c5c31d61f13808f61b7fcebc120e456c (diff)
Do not assume that _lwp_getprivate() returns unbiased private pointer
Cherry-pick and adapt: From 2a9ce60de98e53198047daaeeec3cf09ece4e693 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski <n54@gmx.com> Date: Fri, 2 Oct 2020 16:13:09 +0200 Subject: [PATCH] [compiler-rt] [netbsd] Improve the portability of ThreadSelfTlsTcb Use __lwp_gettcb_fast() and __lwp_getprivate_fast(), as _lwp_getprivate() can be a biased pointer and invalid for use in this function on all CPUs.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions