diff options
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/include/runq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/runq.h b/sys/ia64/include/runq.h index 3fc658a..9f844b6 100644 --- a/sys/ia64/include/runq.h +++ b/sys/ia64/include/runq.h @@ -36,7 +36,7 @@ #define RQB_BIT(pri) (1UL << ((pri) & (RQB_BPW - 1))) #define RQB_WORD(pri) ((pri) >> RQB_L2BPW) -#define RQB_FFS(word) (ffs64(word)) +#define RQB_FFS(word) (ffs64(word) - 1) /* * Type of run queue status word. |