Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] MPILIB: Provide count_leading/trailing_zeros() based on arch functions | Date | Fri, 20 Jul 2012 15:21:39 +0100 |
| |
Arnd Bergmann <arnd@arndb.de> wrote:
> I don't generally like to put stuff into asm-generic when it's unlikely > to be overridden by architectures. It would really belong into > include/linux, but then again we have all the other bitops in asm-generic > as well, so whatever...
Some arches (such as Sparc, I think) have count-leading-zero instructions.
David
| |