diff options
author | Lukas Larsson <[email protected]> | 2012-07-11 13:03:24 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-07-11 13:03:35 +0200 |
commit | d14b426aa892a891ba2b911dff923e440a643870 (patch) | |
tree | e3785847ffc5babc79739e804f8200847c5a0e4d /erts/emulator/beam | |
parent | 633c937ff52687a55c84ad0d158205112376d6f9 (diff) | |
parent | d4599a2b7dc5441bb9bd71def0cfed8742c0a9c3 (diff) | |
download | otp-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.c | 2 |
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))) { |