aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/include/arch-v32
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-03 18:29:07 +0200
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 13:02:33 +0200
commit6fdf581e9df53ee4f8b46487a046fff7613a0fa0 (patch)
treef899d6160a10a1774786327e21f1e12009cfd828 /arch/cris/include/arch-v32
parentCRIS: Discard .note.gnu.build-id section (diff)
downloadlinux-dev-6fdf581e9df53ee4f8b46487a046fff7613a0fa0.tar.xz
linux-dev-6fdf581e9df53ee4f8b46487a046fff7613a0fa0.zip
CRIS: Define __read_mostly for CRISv32
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/include/arch-v32')
-rw-r--r--arch/cris/include/arch-v32/arch/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/cris/include/arch-v32/arch/cache.h b/arch/cris/include/arch-v32/arch/cache.h
index dfc73050e6b4..1de779f4f240 100644
--- a/arch/cris/include/arch-v32/arch/cache.h
+++ b/arch/cris/include/arch-v32/arch/cache.h
@@ -7,6 +7,8 @@
#define L1_CACHE_BYTES 32
#define L1_CACHE_SHIFT 5
+#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+
void flush_dma_list(dma_descr_data *descr);
void flush_dma_descr(dma_descr_data *descr, int flush_buf);