[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140103024038.GD1913@gchen.bj.intel.com>
Date: Thu, 2 Jan 2014 21:40:38 -0500
From: "Chen, Gong" <gong.chen@...ux.intel.com>
To: Laura Abbott <lauraa@...eaurora.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Kyungmin Park <kmpark@...radead.org>,
Dave Hansen <dave@...1.net>, linux-mm@...ck.org,
Joerg Roedel <joro@...tes.org>, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org
Subject: Re: [RFC PATCHv3 02/11] iommu/omap: Use get_vm_area directly
On Thu, Jan 02, 2014 at 01:53:20PM -0800, Laura Abbott wrote:
> diff --git a/drivers/iommu/omap-iovmm.c b/drivers/iommu/omap-iovmm.c
> index d147259..6280d50 100644
> --- a/drivers/iommu/omap-iovmm.c
> +++ b/drivers/iommu/omap-iovmm.c
> @@ -214,7 +214,7 @@ static void *vmap_sg(const struct sg_table *sgt)
> if (!total)
> return ERR_PTR(-EINVAL);
>
> - new = __get_vm_area(total, VM_IOREMAP, VMALLOC_START, VMALLOC_END);
> + new = get_vm_area(total, VM_IOREMAP);
This driver is a module but get_vm_area is not exported. You need to add
one extra EXPORT_SYMBOL_GPL(get_vm_area).
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists