summaryrefslogtreecommitdiff
path: root/drivers/dax/hmem/hmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dax/hmem/hmem.c')
-rw-r--r--drivers/dax/hmem/hmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/hmem/hmem.c b/drivers/dax/hmem/hmem.c
index 29ceb5795297..506893861253 100644
--- a/drivers/dax/hmem/hmem.c
+++ b/drivers/dax/hmem/hmem.c
@@ -22,7 +22,7 @@ static int dax_hmem_probe(struct platform_device *pdev)
memcpy(&pgmap.res, res, sizeof(*res));
dax_region = alloc_dax_region(dev, pdev->id, res, mri->target_node,
- PMD_SIZE, PFN_DEV|PFN_MAP);
+ PMD_SIZE);
if (!dax_region)
return -ENOMEM;