aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-07-11 13:03:24 +0200
committerLukas Larsson <[email protected]>2012-07-11 13:03:35 +0200
commitd14b426aa892a891ba2b911dff923e440a643870 (patch)
treee3785847ffc5babc79739e804f8200847c5a0e4d /erts/emulator/beam
parent633c937ff52687a55c84ad0d158205112376d6f9 (diff)
parentd4599a2b7dc5441bb9bd71def0cfed8742c0a9c3 (diff)
downloadotp-d14b426aa892a891ba2b911dff923e440a643870.tar.gz
otp-d14b426aa892a891ba2b911dff923e440a643870.tar.bz2
otp-d14b426aa892a891ba2b911dff923e440a643870.zip
Merge branch 'lukas/erts/fix_enable_proc_lcnt'
OTP-10051 * lukas/erts/fix_enable_proc_lcnt: Use process macro instead of array
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_process_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process_lock.c b/erts/emulator/beam/erl_process_lock.c
index bae2b383a4..83272aab42 100644
--- a/erts/emulator/beam/erl_process_lock.c
+++ b/erts/emulator/beam/erl_process_lock.c
@@ -1272,7 +1272,7 @@ void erts_lcnt_enable_proc_lock_count(int enable) {
int i;
for (i = 0; i < erts_max_processes; ++i) {
- Process* p = process_tab[i];
+ Process* p = erts_pix2proc(i);
if (p) {
if (enable) {
if (!ERTS_LCNT_LOCK_TYPE(&(p->lock.lcnt_main))) {