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>
This commit is contained in:
parent
aecb2016c9
commit
4533d3aed8
3 changed files with 6 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue