> __ffs on the available architectures: > Alpha: sometimes (CONFIG_ALPHA_EV6, CONFIG_ALPHA_EV67) > ARC: sometimes (!CONFIG_ISA_ARCOMPACT) > ARM: sometimes (V5+) > ARM64: NO, could be written using RBIT and CLZ > AVR: yes > Blackfin: NO, could be written using hweight() > C6x: yes > CRIS: NO > FR-V: yes > H8300: NO > Hexagon: yes > IA64: yes > M32R: NO > M68k: sometimes > MetaG: NO > Microblaze: NO > MIPS: sometimes > MN10300: yes > OpenRISC: NO > PA-RISC: NO? Interesting code, but I think it's a net loss. > PowerPC: yes > S390: sometimes (CONFIG_HAVE_MARCH_Z9_109_FEATURES) > Score: NO > SH: NO > SPARC: NO SPARC: sparc64: YES, sparc32: NO Patch needs to be updated to refelct this. Sam