提交 121fc47d 编写于 作者: P Paul Mundt

sh: Provide a __read_mostly section wrapper.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 36b13d76
......@@ -19,6 +19,8 @@
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#ifndef __ASSEMBLY__
struct cache_info {
unsigned int ways; /* Number of cache ways */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册