]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[S390] find bit corner case.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 19 Feb 2008 14:29:28 +0000 (15:29 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 19 Feb 2008 14:29:33 +0000 (15:29 +0100)
commita22fb7ff1259e6ee87d0ba3559c9f7b7d0cb20d2
tree46926139f2bd05aa45ce842ef8268474561fb11a
parent03513bccad33667ed738cfd96dc5757e539e0bdb
[S390] find bit corner case.

Fix [ext2_]find_first_[zero_]bit for the corner case of an all clear
or all set bit field by always handling that last word of the bit field
with __ffz_word/__ffs_word.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/bitops.h