Skip to content

Commit

Permalink
CRISv32: Correct name of read_mostly section.
Browse files Browse the repository at this point in the history
54cb27a renamed .data.read_mostly to
.data..read_mostly for all architectures for 2.6.33.

Reported-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
  • Loading branch information
Jesper Nilsson committed Apr 3, 2012
1 parent 7d6e1cb commit 06e4484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/cris/include/arch-v32/arch/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define L1_CACHE_BYTES 32
#define L1_CACHE_SHIFT 5

#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#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 06e4484

Please sign in to comment.