summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.c
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-02-27 22:44:30 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-02-27 22:44:30 +0000
commit751303c2acf22f7fa431690efcddcc8cb0d3a84e (patch)
tree1b1943ffdbefb3a2fe96e95a2af5c6c6c12968c5 /firmware/drivers/fat.c
parentb25f17200f4dd5e7fc8046ffc8fd6e64a61183bd (diff)
iPod Classic CE-ATA Support (Part 1 of 4: Cacheline align some statically allocated sector buffers)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29444 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r--firmware/drivers/fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index f055f4b170..63f4151792 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -211,7 +211,7 @@ struct fat_cache_entry
#endif
};
-static char fat_cache_sectors[FAT_CACHE_SIZE][SECTOR_SIZE];
+static char fat_cache_sectors[FAT_CACHE_SIZE][SECTOR_SIZE] CACHEALIGN_ATTR;
static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE];
static struct mutex cache_mutex SHAREDBSS_ATTR;