On 3/29/07, Richard Knutsson <[EMAIL PROTECTED]> wrote:
Alexey Dobriyan wrote:
> On Wed, Mar 28, 2007 at 09:03:09AM +0530, Milind Arun Choudhary wrote:
>
>> +#define BIT(nr) (1UL << ((nr) % BITS_PER_LONG))
>>
>
> I think this would be a disaster because something like
>
>BIT(123)
>
> wo
Milind Arun Choudhary wrote:
BIT macro cleanup,now in bitops.h
Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]>
---
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 0de0c65..5aa3be5 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -14,6 +14,7 @@
#define _S2IO
Alexey Dobriyan wrote:
On Wed, Mar 28, 2007 at 09:03:09AM +0530, Milind Arun Choudhary wrote:
--- a/include/linux/bitops.h
+++ b/include/linux/bitops.h
@@ -8,6 +8,9 @@
*/
#include
+#define BIT(nr)(1UL << ((nr) % BITS_PER_LONG))
I think this would be a disaster because some
On Wed, Mar 28, 2007 at 09:03:09AM +0530, Milind Arun Choudhary wrote:
> --- a/include/linux/bitops.h
> +++ b/include/linux/bitops.h
> @@ -8,6 +8,9 @@
> */
> #include
>
> +#define BIT(nr) (1UL << ((nr) % BITS_PER_LONG))
I think this would be a disaster because something like
BIT(
BIT macro cleanup,now in bitops.h
Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]>
---
arch/ppc/platforms/chestnut.c |1
drivers/edac/edac_mc.h |2 -
drivers/i2c/busses/i2c-pxa.c| 55 ++--
drivers/net
5 matches
Mail list logo