]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[MLX4] Fix ioremap to use consistent caching attribute
authorLeonid Kelly <leonid@mellanox.co.il>
Tue, 14 Sep 2010 09:22:20 +0000 (09:22 +0000)
committerLeonid Kelly <leonid@mellanox.co.il>
Tue, 14 Sep 2010 09:22:20 +0000 (09:22 +0000)
It's the missed file from the previous patch

git-svn-id: svn://openib.tc.cornell.edu/gen1@2922 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/hw/mlx4/kernel/hca/hverbs.c

index 4fcf5b147c210fe1abc93402f14e100664426f25..34c6ff9804b2f7665e1244548765218c01c0cdfc 100644 (file)
@@ -479,7 +479,7 @@ static NTSTATUS __map_memory_for_user(
        p_map->mapped = 0;\r
        \r
        // map UAR to kernel \r
-       p_map->kva = ioremap(addr, size);\r
+       p_map->kva = ioremap(addr, size, mem_type);\r
        if (!p_map->kva) {\r
                HCA_PRINT( TRACE_LEVEL_ERROR, HCA_DBG_LOW ,\r
                        ("Couldn't map kernel access region, aborting.\n") );\r