mm, dax: convert vmf_insert_pfn_pmd() to pfn_t
authorDan Williams <dan.j.williams@intel.com>
Sat, 16 Jan 2016 00:56:43 +0000 (16:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2016 01:56:32 +0000 (17:56 -0800)
commitf25748e3c34eb8bb54853e9adba2d3dcf030503c
tree1305448a2cc3c7f4bf0b0f7eb4bd9f9176fe8eca
parent01c8f1c44b83a0825b573e7c723b033cece37b86
mm, dax: convert vmf_insert_pfn_pmd() to pfn_t

Similar to the conversion of vm_insert_mixed() use pfn_t in the
vmf_insert_pfn_pmd() to tag the resulting pte with _PAGE_DEVICE when the
pfn is backed by a devm_memremap_pages() mapping.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Hansen <dave@sr71.net>
Cc: Matthew Wilcox <willy@linux.intel.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/pgtable.h
arch/x86/mm/pat.c
fs/dax.c
include/asm-generic/pgtable.h
include/linux/huge_mm.h
include/linux/pfn_t.h
mm/huge_memory.c
mm/memory.c