Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
msm-4.9
/
cc6d4fbcef328acdc9fa7023e69f39f753f72fe1
/
.
/
include
/
asm-generic
/
bitops
/
fls64.h
blob: 1b6b17ce2428091e605c8cbda7103b1d42836780 [
file
] [
log
] [
blame
]
#ifndef
_ASM_GENERIC_BITOPS_FLS64_H_
#define
_ASM_GENERIC_BITOPS_FLS64_H_
#include
<asm/types.h>
static
inline
int
fls64
(
__u64 x
)
{
__u32 h
=
x
>>
32
;
if
(
h
)
return
fls
(
h
)
+
32
;
return
fls
(
x
);
}
#endif
/* _ASM_GENERIC_BITOPS_FLS64_H_ */