arm-sdk

os build toolkit for various embedded devices
git clone https://git.parazyd.org/arm-sdk
Log | Files | Refs | Submodules | README | LICENSE

0011-HACK-export-dma-access-functions-needed-by-PVR-drive.patch (850B)


      1 From d619104c857f0938801a34acf1ba2d46fd41e521 Mon Sep 17 00:00:00 2001
      2 From: =?UTF-8?q?Filip=20Matijevi=C4=87?= <filip.matijevic.pz@gmail.com>
      3 Date: Sat, 16 Dec 2017 07:41:32 +0100
      4 Subject: [PATCH 11/11] HACK: export dma access functions needed by PVR drivers
      5 
      6 ---
      7  arch/arm/mm/dma-mapping.c | 7 +++++++
      8  1 file changed, 7 insertions(+)
      9 
     10 diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
     11 index ada8eb206a90..877f7f96462d 100644
     12 --- a/arch/arm/mm/dma-mapping.c
     13 +++ b/arch/arm/mm/dma-mapping.c
     14 @@ -2409,3 +2409,10 @@ void arch_teardown_dma_ops(struct device *dev)
     15  
     16  	arm_teardown_iommu_dma_ops(dev);
     17  }
     18 +
     19 +/* export the cache management functions */
     20 +#ifndef MULTI_CACHE
     21 +EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
     22 +EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
     23 +EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));
     24 +#endif
     25 -- 
     26 2.14.1
     27