]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: replace ffsll with __ffs64
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 9 Feb 2014 20:51:24 +0000 (15:51 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 03:59:31 +0000 (13:59 +1000)
commit376ecccf979da43057a9709e414e0653a44e372c
treedb0e30783fe20810e97265d75ff3452db18195f0
parentc20f6b21b0db8b8c479c567a37b20e317a11ccae
drm/nouveau: replace ffsll with __ffs64

The ffsll function is a lot slower than the __ffs64 built-in which
compiles to a single instruction on 64-bit. It's also nice to avoid
custom versions of standard functions. Note that __ffs == ffs - 1.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/core/parent.c
drivers/gpu/drm/nouveau/nouveau_abi16.c