diff options
author | Dave Airlie <airlied@redhat.com> | 2013-02-08 03:13:43 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-02-08 03:13:43 +0100 |
commit | 62cd2fa82a38cb3d653517822c62a39cdbb5f365 (patch) | |
tree | b5d2f198c14455822c8b03abde2c8d8080cda24a /arch/cris/include/asm/dma-mapping.h | |
parent | Merge branch 'fbcon-locking-fixes' of ssh://people.freedesktop.org/~airlied/l... (diff) | |
parent | fbcon: don't lose the console font across generic->chip driver switch (diff) | |
download | linux-62cd2fa82a38cb3d653517822c62a39cdbb5f365.tar.xz linux-62cd2fa82a38cb3d653517822c62a39cdbb5f365.zip |
Merge branch 'console-fixes' into drm-next
(not the fbcon maintainer pull 2)
fix bug in vgacon on bootup and fbcon losing fonts on startup.
* console-fixes: (50 commits)
fbcon: don't lose the console font across generic->chip driver switch
vgacon/vt: clear buffer attributes when we load a 512 character font (v2)
Diffstat (limited to 'arch/cris/include/asm/dma-mapping.h')
-rw-r--r-- | arch/cris/include/asm/dma-mapping.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/cris/include/asm/dma-mapping.h b/arch/cris/include/asm/dma-mapping.h index 8588b2ccf854..2f0f654f1b44 100644 --- a/arch/cris/include/asm/dma-mapping.h +++ b/arch/cris/include/asm/dma-mapping.h @@ -158,5 +158,15 @@ dma_cache_sync(struct device *dev, void *vaddr, size_t size, { } +/* drivers/base/dma-mapping.c */ +extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, + void *cpu_addr, dma_addr_t dma_addr, size_t size); +extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, + void *cpu_addr, dma_addr_t dma_addr, + size_t size); + +#define dma_mmap_coherent(d, v, c, h, s) dma_common_mmap(d, v, c, h, s) +#define dma_get_sgtable(d, t, v, h, s) dma_common_get_sgtable(d, t, v, h, s) + #endif |