linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / i2o.h
index c115e9e..6368e31 100644 (file)
@@ -950,7 +950,9 @@ static inline int i2o_pool_alloc(struct i2o_pool *pool, const char *name,
        if (!pool->slab)
                goto free_name;
 
-       pool->mempool = mempool_create_slab_pool(min_nr, pool->slab);
+       pool->mempool =
+           mempool_create(min_nr, mempool_alloc_slab, mempool_free_slab,
+                          pool->slab);
        if (!pool->mempool)
                goto free_slab;