aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_smp.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-05-11 12:09:10 +0200
committerSverker Eriksson <[email protected]>2017-05-11 12:09:10 +0200
commit5aa7180ae0ad7a34d1903003cbcd4a7d5cc61858 (patch)
treedeef1efc781432b197c04be9f86a1352f88b00bd /erts/emulator/beam/erl_smp.h
parent57faf8743b693f02eda2ba0a379e234f554d5e96 (diff)
parenteb9ffb378b9eb3b9f4a0f898e60ade01d3d48283 (diff)
downloadotp-5aa7180ae0ad7a34d1903003cbcd4a7d5cc61858.tar.gz
otp-5aa7180ae0ad7a34d1903003cbcd4a7d5cc61858.tar.bz2
otp-5aa7180ae0ad7a34d1903003cbcd4a7d5cc61858.zip
Merge branch 'sverker/fix-lc-with-lcnt'
* sverker/fix-lc-with-lcnt: erts: Add minor lock optimization for lcnt erts: Unbreak --enable-lock-checking --enable-lock-counter
Diffstat (limited to 'erts/emulator/beam/erl_smp.h')
-rw-r--r--erts/emulator/beam/erl_smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_smp.h b/erts/emulator/beam/erl_smp.h
index 14be511f86..55ba943bdd 100644
--- a/erts/emulator/beam/erl_smp.h
+++ b/erts/emulator/beam/erl_smp.h
@@ -1073,7 +1073,7 @@ ERTS_GLB_INLINE void
erts_smp_mtx_init_locked_x(erts_smp_mtx_t *mtx, char *name, Eterm extra)
{
#ifdef ERTS_SMP
- erts_mtx_init_locked_x(mtx, name, extra);
+ erts_mtx_init_locked_x_opt(mtx, name, extra, 0);
#endif
}