Peter Wemm
2f9267ec23
Move the "- 1" into the RQB_FFS(mask) macro itself so that
...
implementations can provide a base zero ffs function if they wish.
This changes
#define RQB_FFS(mask) (ffs64(mask))
foo = RQB_FFS(mask) - 1;
to
#define RQB_FFS(mask) (ffs64(mask) - 1)
foo = RQB_FFS(mask);
On some platforms we can get the "- 1" for free, eg: those that use the
C code for ffs64().
Reviewed by: jake (in principle)
2002-06-20 06:21:20 +00:00
..
2002-05-10 02:12:04 +00:00
2002-05-17 01:44:55 +00:00
2002-03-20 23:17:50 +00:00
2002-03-20 23:17:50 +00:00
2002-03-20 23:17:50 +00:00
2002-05-28 07:36:36 +00:00
2002-04-16 11:45:09 +00:00
2002-04-01 23:51:23 +00:00
2002-03-20 23:17:50 +00:00
2002-05-30 08:32:18 +00:00
2002-04-12 15:56:45 +00:00
2002-05-15 20:54:35 +00:00
2002-05-13 07:44:48 +00:00
2002-05-28 12:24:29 +00:00
2002-05-13 07:44:48 +00:00
2002-03-20 23:17:50 +00:00
2002-03-20 23:17:50 +00:00
2002-04-15 12:29:18 +00:00
2002-05-14 20:35:29 +00:00
2002-05-13 07:44:48 +00:00
2002-05-13 07:44:48 +00:00
2002-04-29 07:43:16 +00:00
2002-05-27 11:18:12 +00:00
2002-03-27 05:39:23 +00:00
2002-05-19 04:03:11 +00:00
2002-05-09 14:09:19 +00:00
2002-03-16 00:25:53 +00:00
2002-03-20 23:17:50 +00:00
2002-06-20 06:21:20 +00:00
2002-05-09 14:04:43 +00:00
2002-05-10 02:12:04 +00:00
2002-05-09 14:22:55 +00:00
2002-05-10 02:12:04 +00:00