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)
commit73970c47beb42f3e1ab0b86c537b1c79539f05f4
treedb0e30783fe20810e97265d75ff3452db18195f0
parent0ac4e3a58d58e33b2353b3e187c88b9485f26591
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