aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-01-21 19:54:46 +0100
committerSverker Eriksson <[email protected]>2016-01-21 20:11:04 +0100
commite9d6797e15e687828e5ef0d33fb790181d657779 (patch)
tree1176445060b94d307dc8e868d61cc368af606425 /erts/emulator/beam/erl_message.c
parent66a80a7ab735a22249ffbbb7c88eccebba906194 (diff)
downloadotp-e9d6797e15e687828e5ef0d33fb790181d657779.tar.gz
otp-e9d6797e15e687828e5ef0d33fb790181d657779.tar.bz2
otp-e9d6797e15e687828e5ef0d33fb790181d657779.zip
erts: Fix faulty assert for non-smp
Diffstat (limited to 'erts/emulator/beam/erl_message.c')
-rw-r--r--erts/emulator/beam/erl_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c
index b3e74e3e6a..88efb2c59f 100644
--- a/erts/emulator/beam/erl_message.c
+++ b/erts/emulator/beam/erl_message.c
@@ -1504,7 +1504,7 @@ erts_factory_message_create(ErtsHeapFactory* factory,
}
if (on_heap) {
- ASSERT(*proc_locksp & ERTS_PROC_LOCK_MAIN);
+ ERTS_SMP_ASSERT(*proc_locksp & ERTS_PROC_LOCK_MAIN);
ASSERT(ohp == &proc->off_heap);
factory->mode = FACTORY_HALLOC;
factory->p = proc;