Commit 121fc47d authored by Paul Mundt's avatar Paul Mundt

sh: Provide a __read_mostly section wrapper.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment