summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-26 14:27:19 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-07-02 14:32:44 -0300
commit47e9d836a5e827acdaa5cb6175648fbef15b4e84 (patch)
treef345066cb9d1fdd469f3be277e77f567ddf4d932 /include
parent4239f267e3cd31e6e592d26a9fa6834b5a11560b (diff)
downloadlinux-stable-47e9d836a5e827acdaa5cb6175648fbef15b4e84.tar.gz
linux-stable-47e9d836a5e827acdaa5cb6175648fbef15b4e84.tar.bz2
linux-stable-47e9d836a5e827acdaa5cb6175648fbef15b4e84.zip
mm: remove hmm_vma_alloc_locked_page
The only user of it has just been removed, and there wasn't really any need to wrap a basic memory allocator to start with. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hmm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/hmm.h b/include/linux/hmm.h
index ba19c19e24ed..1d55b7ea2da6 100644
--- a/include/linux/hmm.h
+++ b/include/linux/hmm.h
@@ -587,9 +587,6 @@ static inline void hmm_mm_init(struct mm_struct *mm) {}
#if IS_ENABLED(CONFIG_DEVICE_PRIVATE)
struct hmm_devmem;
-struct page *hmm_vma_alloc_locked_page(struct vm_area_struct *vma,
- unsigned long addr);
-
/*
* struct hmm_devmem_ops - callback for ZONE_DEVICE memory events
*