diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/ata.c | 2 | ||||
-rw-r--r-- | firmware/drivers/fat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 681160cf01..57164c4749 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -134,7 +134,7 @@ static void ata_lock_unlock(struct ata_lock *l) | |||
134 | #define mutex_unlock ata_lock_unlock | 134 | #define mutex_unlock ata_lock_unlock |
135 | #endif /* MAX_PHYS_SECTOR_SIZE */ | 135 | #endif /* MAX_PHYS_SECTOR_SIZE */ |
136 | 136 | ||
137 | static struct mutex ata_mtx NOCACHEBSS_ATTR; | 137 | static struct mutex ata_mtx SHAREDBSS_ATTR; |
138 | int ata_device; /* device 0 (master) or 1 (slave) */ | 138 | int ata_device; /* device 0 (master) or 1 (slave) */ |
139 | 139 | ||
140 | int ata_spinup_time = 0; | 140 | int ata_spinup_time = 0; |
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index a538b92695..002e100405 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c | |||
@@ -201,7 +201,7 @@ struct fat_cache_entry | |||
201 | 201 | ||
202 | static char fat_cache_sectors[FAT_CACHE_SIZE][SECTOR_SIZE]; | 202 | static char fat_cache_sectors[FAT_CACHE_SIZE][SECTOR_SIZE]; |
203 | static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; | 203 | static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; |
204 | static struct mutex cache_mutex NOCACHEBSS_ATTR; | 204 | static struct mutex cache_mutex SHAREDBSS_ATTR; |
205 | 205 | ||
206 | #if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */ | 206 | #if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */ |
207 | void fat_lock(void) | 207 | void fat_lock(void) |