OSDN Git Service

mm: export alloc_pages_vma
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 12:27:05 +0000 (14:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jul 2019 17:32:44 +0000 (14:32 -0300)
nouveau is currently using this through an odd hmm wrapper, and I plan
to switch it to the real thing later in this series.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
mm/mempolicy.c

index fdcb735..f48693f 100644 (file)
@@ -2098,6 +2098,7 @@ alloc_pages_vma(gfp_t gfp, int order, struct vm_area_struct *vma,
 out:
        return page;
 }
+EXPORT_SYMBOL(alloc_pages_vma);
 
 /**
  *     alloc_pages_current - Allocate pages.