mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
CRIS: Define __read_mostly for CRISv32
Signed-off-by: Jesper Nilsson <[email protected]>
This commit is contained in:
parent
d717809bce
commit
6fdf581e9d
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@
|
|||
#define L1_CACHE_BYTES 32
|
||||
#define L1_CACHE_SHIFT 5
|
||||
|
||||
#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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue