diff options
| author | David Howells <[email protected]> | 2013-03-28 18:48:28 +0000 |
|---|---|---|
| committer | Sarah Sharp <[email protected]> | 2013-04-03 10:28:31 -0700 |
| commit | 6a5d6943fe0e4b1e4c43c3aa1919360f68ae2f9a (patch) | |
| tree | 9699df081c3ba3734dcca3fec525dc3d49e0e069 /include/linux/debugobjects.h | |
| parent | 505bdbc79d20f8f2a56c02498f079bb23b0ef756 (diff) | |
xhci: Use ilog2() rather than __ffs() for calculating SEGMENT_SHIFT
Use ilog2() rather than __ffs() for calculating SEGMENT_SHIFT as ilog2() can
be worked out at compile time, whereas __ffs() must be calculated at runtime.
Signed-off-by: David Howells <[email protected]>
cc: Sarah Sharp <[email protected]>
cc: Greg Kroah-Hartman <[email protected]>
cc: [email protected]
Signed-off-by: Sarah Sharp <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions