]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] Cleanup & optimize bitops.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 5 Feb 2008 15:50:43 +0000 (16:50 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 5 Feb 2008 15:50:58 +0000 (16:50 +0100)
commit0abbf05cdd69d74f92628bf444cd210ba046f6eb
tree369550d01b22fc9a68d07652513e532b97ec8975
parentb6b40c532a36f91df9c21caf9baba3b635e99d4e
[S390] Cleanup & optimize bitops.

The bitops header is now a bit shorter and easier to understand since
it uses less inline assembly. It requires some tricks to persuade the
compiler to generate decent code. The ffz/ffs functions now use the
_zb_findmap/_sb_findmap table as well.
With this cleanup the new bitops for ext4 can be implemented with a
few lines, instead of another large inline assembly.

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