peter
4830c34648
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
..
2001-11-02 18:05:43 +00:00
2001-11-02 18:05:43 +00:00
2002-05-02 09:04:29 +00:00
2002-05-13 04:58:12 +00:00
2002-05-19 20:19:07 +00:00
2001-11-19 07:07:09 +00:00
2002-02-27 17:16:18 +00:00
2002-03-20 23:30:31 +00:00
2001-10-04 15:28:27 +00:00
2002-05-19 04:14:42 +00:00
2002-05-19 04:42:19 +00:00
2002-04-01 23:51:23 +00:00
2002-05-19 04:42:19 +00:00
2001-11-19 07:25:42 +00:00
2002-05-30 08:32:18 +00:00
2002-04-10 14:39:14 +00:00
2001-10-06 15:57:22 +00:00
2002-04-30 06:37:25 +00:00
2002-05-19 04:42:19 +00:00
2002-05-13 05:01:05 +00:00
2001-10-18 16:20:04 +00:00
2001-10-05 10:30:09 +00:00
2001-06-01 13:23:28 +00:00
2001-11-02 18:05:43 +00:00
2002-05-29 05:19:07 +00:00
2002-05-05 08:14:32 +00:00
2001-12-18 00:27:18 +00:00
2001-09-29 11:11:18 +00:00
2001-10-21 05:52:54 +00:00
2002-05-19 04:42:19 +00:00
2002-05-19 04:14:42 +00:00
2001-09-29 11:11:18 +00:00
2001-12-30 09:39:41 +00:00
2002-04-29 07:43:16 +00:00
2002-03-27 05:39:23 +00:00
2002-03-21 09:50:11 +00:00
2001-11-09 13:07:44 +00:00
2002-03-16 00:25:53 +00:00
2002-05-20 05:41:20 +00:00
2001-10-29 12:04:23 +00:00
2002-06-20 06:21:20 +00:00
2002-04-22 06:35:40 +00:00
2001-10-05 10:30:09 +00:00
2002-03-14 10:17:08 +00:00
2001-10-20 15:19:43 +00:00
2001-09-05 01:36:46 +00:00
2002-04-10 19:24:08 +00:00
2002-05-12 05:54:21 +00:00
2002-05-10 07:33:11 +00:00
2001-12-09 19:12:07 +00:00
2001-10-29 12:04:23 +00:00
2002-05-10 02:12:04 +00:00
2002-05-19 04:42:19 +00:00