projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'asm-generic-mmu-context-5.11' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git]
/
drivers
/
misc
/
fastrpc.c
diff --git
a/drivers/misc/fastrpc.c
b/drivers/misc/fastrpc.c
index
994ab67
..
70eb5ed
100644
(file)
--- a/
drivers/misc/fastrpc.c
+++ b/
drivers/misc/fastrpc.c
@@
-586,11
+586,13
@@
static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf,
kfree(a);
}
kfree(a);
}
-static
void *fastrpc_vmap(struct dma_buf *dmabuf
)
+static
int fastrpc_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map
)
{
struct fastrpc_buf *buf = dmabuf->priv;
{
struct fastrpc_buf *buf = dmabuf->priv;
- return buf->virt;
+ dma_buf_map_set_vaddr(map, buf->virt);
+
+ return 0;
}
static int fastrpc_mmap(struct dma_buf *dmabuf,
}
static int fastrpc_mmap(struct dma_buf *dmabuf,