#ifndef _ASM_GENERIC_BITOPS_BUILTIN_FLS_H_ #define _ASM_GENERIC_BITOPS_BUILTIN_FLS_H_ /** * fls - find last (most-significant) bit set * @x: the word to search * * This is defined the same way as ffs. * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32. */ static __always_inline int fls(int x) { return x ? sizeof(x) * 8 - __builtin_clz(x) : 0; } #endif href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/tools/iio/Makefile
on>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-12-08 10:32:27 +1000
committerDave Airlie <airlied@redhat.com>2016-12-08 10:32:27 +1000
commit4e4f3e984954143fb0b8e5035df7ff22dd07bb6a (patch)
tree6fc53eec1086e15d36639e3cec1de188e0acd97e /net/caif
parent3e5de27e940d00d8d504dfb96625fb654f641509 (diff)
parentfaefba95c9e8ca3a523831c2ec2150f5ea054dae (diff)
Merge branch 'drm-fixes-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
another regression fix for the shutdown stuff. * 'drm-fixes-4.9' of git://people.freedesktop.org/~agd5f/linux: drm/amdgpu: just suspend the hw on pci shutdown
Diffstat (limited to 'net/caif')