aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-02-04 15:59:33 +0100
committerRickard Green <[email protected]>2016-02-04 16:00:07 +0100
commita4d6c798135440eadfba4832ac3cf77b06b6ac4f (patch)
tree30c639946aeb7afaff4327e2669222439a2dd721 /erts/emulator
parent05cef5e3a267b3515acb834130675e0cbf69bf78 (diff)
downloadotp-a4d6c798135440eadfba4832ac3cf77b06b6ac4f.tar.gz
otp-a4d6c798135440eadfba4832ac3cf77b06b6ac4f.tar.bz2
otp-a4d6c798135440eadfba4832ac3cf77b06b6ac4f.zip
Fix bug causing run-queue mask to become inconsistent
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index f50b217d4a..0db81de570 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -1091,7 +1091,7 @@ void erts_check_for_holes(Process* p);
#define ERTS_PSFLGS_GET_USR_PRIO(PSFLGS) \
(((PSFLGS) >> ERTS_PSFLGS_USR_PRIO_OFFSET) & ERTS_PSFLGS_PRIO_MASK)
#define ERTS_PSFLGS_GET_PRQ_PRIO(PSFLGS) \
- (((PSFLGS) >> ERTS_PSFLGS_USR_PRIO_OFFSET) & ERTS_PSFLGS_PRIO_MASK)
+ (((PSFLGS) >> ERTS_PSFLGS_PRQ_PRIO_OFFSET) & ERTS_PSFLGS_PRIO_MASK)
/* The sequential tracing token is a tuple of size 5:
*