diff options
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r-- | firmware/export/system.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index ce6277ac7a..ed10c84a58 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h | |||
@@ -282,16 +282,28 @@ static inline uint32_t swap_odd_even32(uint32_t value) | |||
282 | 282 | ||
283 | /* Just define these as empty if not declared */ | 283 | /* Just define these as empty if not declared */ |
284 | #ifdef HAVE_CPUCACHE_INVALIDATE | 284 | #ifdef HAVE_CPUCACHE_INVALIDATE |
285 | void cpucache_commit_discard(void); | ||
286 | /* deprecated alias */ | ||
285 | void cpucache_invalidate(void); | 287 | void cpucache_invalidate(void); |
286 | #else | 288 | #else |
289 | static inline void cpucache_commit_discard(void) | ||
290 | { | ||
291 | } | ||
292 | /* deprecated alias */ | ||
287 | static inline void cpucache_invalidate(void) | 293 | static inline void cpucache_invalidate(void) |
288 | { | 294 | { |
289 | } | 295 | } |
290 | #endif | 296 | #endif |
291 | 297 | ||
292 | #ifdef HAVE_CPUCACHE_FLUSH | 298 | #ifdef HAVE_CPUCACHE_FLUSH |
299 | void cpucache_commit(void); | ||
300 | /* deprecated alias */ | ||
293 | void cpucache_flush(void); | 301 | void cpucache_flush(void); |
294 | #else | 302 | #else |
303 | static inline void cpucache_commit(void) | ||
304 | { | ||
305 | } | ||
306 | /* deprecated alias */ | ||
295 | static inline void cpucache_flush(void) | 307 | static inline void cpucache_flush(void) |
296 | { | 308 | { |
297 | } | 309 | } |