Re: [PATCH 02/25] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-09-13 Thread Kasatkin, Dmitry
O On Thu, Sep 13, 2012 at 8:14 AM, James Morris wrote: > On Mon, 10 Sep 2012, Kasatkin, Dmitry wrote: > >> > Signed-off-by: David Howells >> > Cc: David S. Miller >> > Cc: Dmitry Kasatkin >> > Cc: Arnd Bergmann >> >> Hi James, >> >> Can you please apply this? > > Could you send me this and an

Re: [PATCH 02/25] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-09-12 Thread James Morris
On Mon, 10 Sep 2012, Kasatkin, Dmitry wrote: > > Signed-off-by: David Howells > > Cc: David S. Miller > > Cc: Dmitry Kasatkin > > Cc: Arnd Bergmann > > Hi James, > > Can you please apply this? Could you send me this and any other outstanding changes as patches against my -next branch, test

Re: [PATCH 02/25] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-09-10 Thread Kasatkin, Dmitry
On Thu, Aug 16, 2012 at 4:34 AM, David Howells wrote: > Provide count_leading/trailing_zeros() macros based on extant arch bit > scanning > functions rather than reimplementing from scratch in MPILIB. > > Whilst we're at it, turn count_foo_zeros(n, x) into n = count_foo_zeros(x). > > Also move th

[PATCH 02/25] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-08-15 Thread David Howells
Provide count_leading/trailing_zeros() macros based on extant arch bit scanning functions rather than reimplementing from scratch in MPILIB. Whilst we're at it, turn count_foo_zeros(n, x) into n = count_foo_zeros(x). Also move the definition to asm-generic as other people may be interested in usi