net/mlx5: Split FDB fast path prio to multiple namespaces
[linux-2.6-block.git] / include / linux / bitmap.h
index 1ee46f4922676e02abe76a62866d5fe73532da84..acf5e8df3504fc347cc1bdac552c4f631c55a6dd 100644 (file)
  * contain all bit positions from 0 to 'bits' - 1.
  */
 
+/*
+ * Allocation and deallocation of bitmap.
+ * Provided in lib/bitmap.c to avoid circular dependency.
+ */
+extern unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags);
+extern unsigned long *bitmap_zalloc(unsigned int nbits, gfp_t flags);
+extern void bitmap_free(const unsigned long *bitmap);
+
 /*
  * lib/bitmap.c provides these functions:
  */