[parisc-linux-cvs] linux-2.6 grundler

Grant Grundler parisc-linux@lists.parisc-linux.org
Fri, 5 Sep 2003 23:53:26 -0600 (MDT)


CVSROOT:	/var/cvs
Module name:	linux-2.6
Changes by:	grundler	03/09/05 23:53:26

Modified files:
	.              : Makefile 
	include/asm-parisc: bitops.h 

Log message:
2.6.0-test4-pa12 PARISC __fls()

Original:
http://lists.parisc-linux.org/pipermail/parisc-linux/2003-August/020628.html

kudos to Joel Soete for mangling lamont's __ffs() to produce __fls().
Again, I added 64-bit support.  Booted on a500.
Didn't test 32-bit but fls_test.c included in above URL works in user space.
(162 cycles per loop iteration, 00:29:01 to complete on 400Mhz PA8500).