[KJ][RFC][PATCH] BIT macro cleanup

2007-02-23 Thread Milind Choudhary
Hi all working towards the cleanup of BIT macro, I've added one to & cleaned some obvious users. include/linux/input.h also has a BIT macro which does a wrap so currently i've done something like +#undef BIT #define BIT(nr)(1UL << ((nr) % BITS_PER_LONG)) Is it advisible to move

Re: [KJ][RFC][PATCH] BIT macro cleanup

2007-02-23 Thread Milind Choudhary
On 2/23/07, Richard Knutsson <[EMAIL PROTECTED]> wrote: > +#define BITWRAP(nr)(1UL << ((nr) % BITS_PER_LONG)) > > & make the whole input subsystem use it > The change is huge, more than 125 files using input.h > & almost all use the BIT macro. It is as a big of change, but have you dismissed