|
130 | 130 | #endif
|
131 | 131 |
|
132 | 132 | #ifndef __ASSEMBLER__
|
133 |
| -extern inline void nop_flush_icache_all(void) { } |
134 |
| -extern inline void nop_flush_kern_cache_all(void) { } |
135 |
| -extern inline void nop_flush_kern_cache_louis(void) { } |
136 |
| -extern inline void nop_flush_user_cache_all(void) { } |
137 |
| -extern inline void nop_flush_user_cache_range(unsigned long a, |
| 133 | +static inline void nop_flush_icache_all(void) { } |
| 134 | +static inline void nop_flush_kern_cache_all(void) { } |
| 135 | +static inline void nop_flush_kern_cache_louis(void) { } |
| 136 | +static inline void nop_flush_user_cache_all(void) { } |
| 137 | +static inline void nop_flush_user_cache_range(unsigned long a, |
138 | 138 | unsigned long b, unsigned int c) { }
|
139 | 139 |
|
140 |
| -extern inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } |
141 |
| -extern inline int nop_coherent_user_range(unsigned long a, |
| 140 | +static inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } |
| 141 | +static inline int nop_coherent_user_range(unsigned long a, |
142 | 142 | unsigned long b) { return 0; }
|
143 |
| -extern inline void nop_flush_kern_dcache_area(void *a, size_t s) { } |
| 143 | +static inline void nop_flush_kern_dcache_area(void *a, size_t s) { } |
144 | 144 |
|
145 |
| -extern inline void nop_dma_flush_range(const void *a, const void *b) { } |
| 145 | +static inline void nop_dma_flush_range(const void *a, const void *b) { } |
146 | 146 |
|
147 |
| -extern inline void nop_dma_map_area(const void *s, size_t l, int f) { } |
148 |
| -extern inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } |
| 147 | +static inline void nop_dma_map_area(const void *s, size_t l, int f) { } |
| 148 | +static inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } |
149 | 149 | #endif
|
150 | 150 |
|
151 | 151 | #ifndef MULTI_CACHE
|
|
0 commit comments