]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/infiniband/hw/ipath/ipath_verbs.c
Merge branch 'md-raid6-accel' into ioat3.2
[mv-sheeva.git] / drivers / infiniband / hw / ipath / ipath_verbs.c
index cdf0e6abd34d53dabeec4548e74168a171462620..9289ab4b0ae86dd0a37da2d7334538d627d090a5 100644 (file)
@@ -1585,7 +1585,7 @@ static int ipath_query_port(struct ib_device *ibdev,
        u64 ibcstat;
 
        memset(props, 0, sizeof(*props));
-       props->lid = lid ? lid : __constant_be16_to_cpu(IB_LID_PERMISSIVE);
+       props->lid = lid ? lid : be16_to_cpu(IB_LID_PERMISSIVE);
        props->lmc = dd->ipath_lmc;
        props->sm_lid = dev->sm_lid;
        props->sm_sl = dev->sm_sl;