summaryrefslogtreecommitdiffstats
path: root/lib/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitops.h')
-rw-r--r--lib/bitops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bitops.h b/lib/bitops.h
index 1b6dc68..bebd830 100644
--- a/lib/bitops.h
+++ b/lib/bitops.h
@@ -17,3 +17,5 @@
u32 u32_mkmask(unsigned n);
int u32_masklen(u32 x);
+
+u32 u32_log2(u32 v);