summaryrefslogtreecommitdiffstats
path: root/Documentation/x86/pat.txt
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2018-10-27 00:04:26 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-10-27 01:25:20 +0200
commit67fa1666223d7c825f6651add97f0011fe155f36 (patch)
tree3d2a54e2723008b2c4e5925cf7bb19402f20c291 /Documentation/x86/pat.txt
parentmm: make vm_insert_pfn_prot() static (diff)
downloadlinux-67fa1666223d7c825f6651add97f0011fe155f36.tar.xz
linux-67fa1666223d7c825f6651add97f0011fe155f36.zip
mm: remove references to vm_insert_pfn()
Documentation and comments. Link: http://lkml.kernel.org/r/20180828145728.11873-7-willy@infradead.org Signed-off-by: Matthew Wilcox <willy@infradead.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Nicolas Pitre <nicolas.pitre@linaro.org> Cc: Souptick Joarder <jrdr.linux@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/x86/pat.txt')
-rw-r--r--Documentation/x86/pat.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/x86/pat.txt b/Documentation/x86/pat.txt
index 2a4ee6302122..481d8d8536ac 100644
--- a/Documentation/x86/pat.txt
+++ b/Documentation/x86/pat.txt
@@ -90,12 +90,12 @@ pci proc | -- | -- | WC |
Advanced APIs for drivers
-------------------------
A. Exporting pages to users with remap_pfn_range, io_remap_pfn_range,
-vm_insert_pfn
+vmf_insert_pfn
Drivers wanting to export some pages to userspace do it by using mmap
interface and a combination of
1) pgprot_noncached()
-2) io_remap_pfn_range() or remap_pfn_range() or vm_insert_pfn()
+2) io_remap_pfn_range() or remap_pfn_range() or vmf_insert_pfn()
With PAT support, a new API pgprot_writecombine is being added. So, drivers can
continue to use the above sequence, with either pgprot_noncached() or