Skip to content

Commit

Permalink
for gouda and vpu
Browse files Browse the repository at this point in the history
From 29885f2f3d700341d322274db6ad085e601c0994 Mon Sep 17 00:00:00 2001
From: Pantelis Antoniou <[email protected]>
Date: Fri, 4 Jan 2013 00:32:33 +0200
Subject: [PATCH 3/3] arm: Export cache flush management symbols when
 !MULTI_CACHE

When compiling a kernel without CONFIG_MULTI_CACHE enabled the
dma access functions end up not being exported. Fix it.
  • Loading branch information
DD1984 committed May 13, 2018
1 parent e3f6f29 commit 639aced
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -981,3 +981,12 @@ const struct seq_operations cpuinfo_op = {
.stop = c_stop,
.show = c_show
};

/* export the cache management functions */
#ifndef MULTI_CACHE

EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));

#endif

0 comments on commit 639aced

Please sign in to comment.