diff options
Diffstat (limited to 'src/commonlib/storage/storage.h')
-rw-r--r-- | src/commonlib/storage/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/storage/storage.h b/src/commonlib/storage/storage.h index cdd5e6c4b3..5f51ba9502 100644 --- a/src/commonlib/storage/storage.h +++ b/src/commonlib/storage/storage.h @@ -11,7 +11,7 @@ #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ char __##name[ROUND(size * sizeof(type), DMA_MINALIGN) + \ DMA_MINALIGN - 1]; \ - type *name = (type *) ALIGN_UP((uintptr_t)__##name, DMA_MINALIGN) + type *name = (type *)ALIGN_UP((uintptr_t)__##name, DMA_MINALIGN) /* NOOPs mirroring ARM's cache API, since x86 devices usually cache snoop */ #define dcache_invalidate_by_mva(addr, len) |