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-12-14 15:27:15 +00:00
2001-11-02 18:05:43 +00:00
2001-12-20 23:48:31 +00:00
2002-03-23 02:01:27 +00:00
2002-06-01 20:22:33 +00:00
2002-02-28 06:17:05 +00:00
2002-02-18 13:43:19 +00:00
2002-02-18 13:43:19 +00:00
2001-10-06 16:27:21 +00:00
2002-02-27 17:16:18 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2002-05-22 20:32:39 +00:00
2000-09-29 04:38:35 +00:00
2002-04-01 23:51:23 +00:00
2001-09-15 11:06:07 +00:00
2002-05-30 08:32:18 +00:00
2002-06-01 17:39:46 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2000-09-29 13:46:07 +00:00
2000-09-28 00:37:32 +00:00
2002-04-09 11:18:46 +00:00
2002-04-17 22:41:58 +00:00
2002-03-28 15:14:23 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2002-03-27 05:39:23 +00:00
2001-08-21 03:10:55 +00:00
2002-03-27 05:39:23 +00:00
2002-04-29 07:43:16 +00:00
2002-03-27 05:39:23 +00:00
2002-04-21 10:49:00 +00:00
2001-11-15 23:01:29 +00:00
2002-03-16 00:25:53 +00:00
2002-03-20 05:48:58 +00:00
2002-06-20 06:21:20 +00:00
2002-03-23 15:09:35 +00:00
2000-10-06 11:53:32 +00:00
2002-02-17 17:40:34 +00:00
2002-02-17 17:40:34 +00:00
2002-03-23 15:09:35 +00:00
2001-07-12 06:32:51 +00:00
2002-03-20 05:48:58 +00:00
2001-07-12 06:32:51 +00:00
2000-10-27 08:30:59 +00:00
2002-01-10 02:32:30 +00:00
2002-05-10 02:02:54 +00:00
2000-03-30 07:17:05 +00:00