]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/ext4/ext4_common.c
ext4: cache-align buffers so the invalidation works
[karo-tx-uboot.git] / fs / ext4 / ext4_common.c
index 083e45eed5996ec996ece02a9371f34ee7e31ddc..3deffd523e01254e3f9078f4eb17d0d98d47cb90 100644 (file)
@@ -71,7 +71,7 @@ void put_ext4(uint64_t off, void *buf, uint32_t size)
        uint64_t startblock;
        uint64_t remainder;
        unsigned char *temp_ptr = NULL;
-       unsigned char sec_buf[SECTOR_SIZE];
+       ALLOC_CACHE_ALIGN_BUFFER(unsigned char, sec_buf, SECTOR_SIZE);
        struct ext_filesystem *fs = get_fs();
 
        startblock = off / (uint64_t)SECTOR_SIZE;