Robert P. J. Day 63c2f782e8 [POWERPC] Add "is_power_of_2" checking to log2.h.
Add the inline function "is_power_of_2()" to log2.h, where the value
zero is *not* considered to be a power of two.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-02-07 14:03:19 +11:00
..
2006-11-10 11:08:53 -05:00
2007-01-09 02:24:37 -05:00
2006-12-04 18:36:03 -05:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-12-09 09:41:18 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-01-09 00:30:05 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-08 12:32:36 -07:00
2006-09-13 13:24:59 -04:00
2006-12-12 20:03:10 +01:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-01-09 02:14:35 -05:00
2006-09-13 13:24:59 -04:00
2006-12-09 09:41:18 -08:00
2006-12-02 00:11:56 -05:00
2007-01-03 18:38:08 -08:00
2006-12-11 09:51:07 -05:00
2006-12-02 00:11:56 -05:00
2006-12-11 09:31:28 -05:00
2006-12-11 09:31:28 -05:00
2006-12-02 00:12:04 -05:00
2006-09-13 13:24:59 -04:00
2006-12-04 02:00:34 -05:00
2006-12-02 21:22:37 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-12-07 04:57:19 -05:00
2006-09-13 13:24:59 -04:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2006-12-26 23:28:02 +01:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-12-07 04:59:20 -05:00
2006-12-07 04:59:20 -05:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-12-22 08:55:48 -08:00
2006-12-04 02:00:34 -05:00
2006-10-11 11:17:06 -07:00
2006-09-13 13:24:59 -04:00
2007-01-09 00:30:06 -08:00
2007-01-09 00:30:06 -08:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2006-12-04 02:00:34 -05:00
2006-12-02 00:11:56 -05:00