Skip to contentSkip to conversation

Allow x86-64 compilation for ips.c

PATCH New Andi Kleen 1 participant 1 message Aug 10, 2003

Subsystems (3)
lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Allow x86-64 compilation for ips.c

ips.c seems to work on x86-64 fine. Disable the rogue error checking for unsupported architectures.

Also make this check a soft error, not a hard error.

-Andi

drivers/scsi/ips.c +2 -2
diff -burpN -X ../KDIFX linux/drivers/scsi/ips.c linux-2.6.0test3-amd64/drivers/scsi/ips.c
@@ -198,8 +198,8 @@
 #define IPS_VERSION_LOW         ".01-BETA"
 
 
-#if !defined(__i386__) && !defined(__ia64__)
-   #error "This driver has only been tested on the x86/ia64 platforms"
+#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
+   #warning "This driver has only been tested on the x86/ia64 platforms"
 #endif
 
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)