Re: [PATCH] MPILIB: Provide count_leading/trailing_zeros() based on arch functions
From: David Howells
Date: Fri Jul 20 2012 - 10:22:08 EST
Arnd Bergmann <arnd@xxxxxxxx> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/