浏览代码

CRISv32: Correct name of read_mostly section.

54cb27a71f51d304342c79e62fd7667f2171062b 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>
Jesper Nilsson 14 年之前
父节点
当前提交
06e4484036
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/cris/include/arch-v32/arch/cache.h

+ 1 - 1
arch/cris/include/arch-v32/arch/cache.h

@@ -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);