diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-03 21:55:15 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-06-10 10:48:28 +0200 |
commit | 92bdae5d9c95c9dece7886cbdf1f50548b44e60a (patch) | |
tree | dbd84088c6800a04b48df9ab00fd21175aa7b5da /drivers/s390/cio/itcw.c | |
parent | s390/cio: silence lockdep warning (diff) | |
download | linux-92bdae5d9c95c9dece7886cbdf1f50548b44e60a.tar.xz linux-92bdae5d9c95c9dece7886cbdf1f50548b44e60a.zip |
s390/qdio: replace shift loop by ilog2
account_sbals is called by get_inbound_buffer_frontier and
get_outbound_buffer_frontier with 'count' value > 0 so we can safely
convert shift loop to ilog2.
Cc: Joe Perches <joe@perches.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/itcw.c')
0 files changed, 0 insertions, 0 deletions