Skip to content

Commit

Permalink
CRIS: Define __read_mostly for CRISv32
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Nilsson <[email protected]>
  • Loading branch information
jniax committed Aug 4, 2010
1 parent d717809 commit 6fdf581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/cris/include/arch-v32/arch/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6fdf581

Please sign in to comment.