summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/ata.c2
-rw-r--r--firmware/thread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 57164c4749..25eac26e99 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -66,7 +66,7 @@
66#define ATA_POWER_OFF_TIMEOUT 2*HZ 66#define ATA_POWER_OFF_TIMEOUT 2*HZ
67#endif 67#endif
68 68
69#ifdef MAX_PHYS_SECTOR_SIZE 69#if defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64
70/* Hack - what's the deal with 5g? */ 70/* Hack - what's the deal with 5g? */
71struct ata_lock 71struct ata_lock
72{ 72{
diff --git a/firmware/thread.c b/firmware/thread.c
index 0049df3e90..a25a191b80 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -161,7 +161,7 @@ void switch_thread(void)
161 * Processor-specific section 161 * Processor-specific section
162 */ 162 */
163 163
164#ifdef MAX_PHYS_SECTOR_SIZE 164#if defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64
165/* Support a special workaround object for large-sector disks */ 165/* Support a special workaround object for large-sector disks */
166#define IF_NO_SKIP_YIELD(...) __VA_ARGS__ 166#define IF_NO_SKIP_YIELD(...) __VA_ARGS__
167#else 167#else