IB/core: add support to create a unsafe global rkey to ib_create_pd
[cascardo/linux.git] / drivers / infiniband / hw / mlx4 / main.c
index 2af44c2..a96e78c 100644 (file)
@@ -1259,7 +1259,7 @@ static struct ib_xrcd *mlx4_ib_alloc_xrcd(struct ib_device *ibdev,
        if (err)
                goto err1;
 
-       xrcd->pd = ib_alloc_pd(ibdev);
+       xrcd->pd = ib_alloc_pd(ibdev, 0);
        if (IS_ERR(xrcd->pd)) {
                err = PTR_ERR(xrcd->pd);
                goto err2;