summaryrefslogtreecommitdiffstats
path: root/drivers/dax/cxl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dax/cxl.c')
-rw-r--r--drivers/dax/cxl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dax/cxl.c b/drivers/dax/cxl.c
index 8bc9d04034d6..c696837ab23c 100644
--- a/drivers/dax/cxl.c
+++ b/drivers/dax/cxl.c
@@ -26,6 +26,7 @@ static int cxl_dax_region_probe(struct device *dev)
.dax_region = dax_region,
.id = -1,
.size = range_len(&cxlr_dax->hpa_range),
+ .memmap_on_memory = true,
};
return PTR_ERR_OR_ZERO(devm_create_dev_dax(&data));