Sign in
googlers
/
maze
/
linux
/
3b9ed1a5d2d121f32d2cb4f2b05f1fc57c99c946
/
.
/
include
/
asm-generic
/
bitops
/
fls64.h
blob: 716c51e0dd4c2039e62c84671eb8ec4956044139 [
file
] [
log
] [
blame
]
#ifndef
_ASM_GENERIC_BITOPS_FLS64_H_
#define
_ASM_GENERIC_BITOPS_FLS64_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_ */