# Re: \[PATCH 02/28\] staging: android: ion: use vmap instead of vm\_map\_ram

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2020-04-08 15:40:41 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/04/5921568
- Thread: https://ratatoskr.run/linuxppc-dev/2020/04/5921323/t.md

```text
On Wed, Apr 08, 2020 at 08:48:33PM +0800, Hillf Danton wrote:
> > -	void *addr = vm_map_ram(pages, num, -1, pgprot);
> > +	void *addr = vmap(pages, num, VM_MAP);
> 
> A merge glitch?
> 
> void *vmap(struct page **pages, unsigned int count,
> 	   unsigned long flags, pgprot_t prot)

Yes, thanks for the headsup, you were as fast as the build bot :)

Fixed now.
```
