summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2014-12-12 16:55:27 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 12:42:47 -0800
commite1d6d01ab491bee6cfa02f2c10db50f31de85e79 (patch)
tree60cba1a90f20e629af163fb7d4f0abb8b4ee78b9 /mm/memory.c
parent7d9ca0004fc356d8606ded88a7d5d06550aac946 (diff)
downloadlinux-e1d6d01ab491bee6cfa02f2c10db50f31de85e79.tar.gz
linux-e1d6d01ab491bee6cfa02f2c10db50f31de85e79.tar.bz2
linux-e1d6d01ab491bee6cfa02f2c10db50f31de85e79.zip
mm: export find_extend_vma() and handle_mm_fault() for driver use
This lets drivers like the AMD IOMMUv2 driver handle faults a bit more simply, rather than doing tricks with page refs and get_user_pages(). Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Oded Gabbay <oded.gabbay@amd.com> Cc: Joerg Roedel <jroedel@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 5afdb5b8d4e2..fbf74112de5b 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3365,6 +3365,7 @@ int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma,
return ret;
}
+EXPORT_SYMBOL_GPL(handle_mm_fault);
#ifndef __PAGETABLE_PUD_FOLDED
/*