summaryrefslogtreecommitdiff
path: root/mm/memremap.c
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2020-09-01 10:33:25 +0200
committerJuergen Gross <jgross@suse.com>2020-09-04 09:59:59 +0200
commit4533d3aed857c558d6aabd00d0cb04100c5a2258 (patch)
tree4fdcf4778757cc519baa2b797cb7612dd8aa1cf1 /mm/memremap.c
parentaecb2016c90a1b620e21c9e143afbdc9666cce52 (diff)
downloadlinux-starfive-4533d3aed857c558d6aabd00d0cb04100c5a2258.tar.gz
linux-starfive-4533d3aed857c558d6aabd00d0cb04100c5a2258.tar.bz2
linux-starfive-4533d3aed857c558d6aabd00d0cb04100c5a2258.zip
memremap: rename MEMORY_DEVICE_DEVDAX to MEMORY_DEVICE_GENERIC
This is in preparation for the logic behind MEMORY_DEVICE_DEVDAX also being used by non DAX devices. No functional change intended. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Acked-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Link: https://lore.kernel.org/r/20200901083326.21264-3-roger.pau@citrix.com Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'mm/memremap.c')
-rw-r--r--mm/memremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memremap.c b/mm/memremap.c
index 03e38b7a38f1..006dace60b1a 100644
--- a/mm/memremap.c
+++ b/mm/memremap.c
@@ -216,7 +216,7 @@ void *memremap_pages(struct dev_pagemap *pgmap, int nid)
return ERR_PTR(-EINVAL);
}
break;
- case MEMORY_DEVICE_DEVDAX:
+ case MEMORY_DEVICE_GENERIC:
need_devmap_managed = false;
break;
case MEMORY_DEVICE_PCI_P2PDMA: