Skip to content
Snippets Groups Projects
Commit 121fc47d authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Provide a __read_mostly section wrapper.


Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 36b13d76
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment