[Patch 1/10] dm: Export dm_vcalloc()

From: Joe Thornber
Date: Tue Feb 10 2004 - 12:06:23 EST


Export dm_vcalloc()
--- diff/drivers/md/dm-table.c 2004-01-19 10:22:56.000000000 +0000
+++ source/drivers/md/dm-table.c 2004-02-10 16:11:17.000000000 +0000
@@ -149,7 +149,7 @@
return 0;
}

-static void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size)
+void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size)
{
unsigned long size;
void *addr;
@@ -858,6 +858,7 @@
}


+EXPORT_SYMBOL(dm_vcalloc);
EXPORT_SYMBOL(dm_get_device);
EXPORT_SYMBOL(dm_put_device);
EXPORT_SYMBOL(dm_table_event);
--- diff/drivers/md/dm.h 2004-01-19 10:22:56.000000000 +0000
+++ source/drivers/md/dm.h 2004-02-10 16:11:17.000000000 +0000
@@ -167,4 +167,6 @@
int dm_stripe_init(void);
void dm_stripe_exit(void);

+void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
+
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/