Skip to content

Commit

Permalink
[S390] Cleanup & optimize bitops.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Schwidefsky committed Feb 5, 2008
1 parent b6b40c5 commit 0abbf05
Showing 1 changed file with 219 additions and 296 deletions.
Loading

0 comments on commit 0abbf05

Please sign in to comment.