]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/device-mapper.h
dm: publish dm_vcalloc
[linux-2.6-omap-h63xx.git] / include / linux / device-mapper.h
index e462c7f3b3917d5aa352c03403a418c56a06c86b..08d783592b73ef4ef6bf8f2b03c8b1359ebe5b40 100644 (file)
@@ -267,6 +267,11 @@ void dm_table_event(struct dm_table *t);
  */
 int dm_swap_table(struct mapped_device *md, struct dm_table *t);
 
+/*
+ * A wrapper around vmalloc.
+ */
+void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
+
 /*-----------------------------------------------------------------
  * Macros.
  *---------------------------------------------------------------*/