patch-2.4.6 linux/drivers/cdrom/mcdx.c

Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/bluetooth/hci_usb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/cdrom/mcdx.c linux/drivers/cdrom/mcdx.c
@@ -80,6 +80,10 @@
 #define	mcdx_drive_map mcdx
 #include "mcdx.h"
 
+#if BITS_PER_LONG != 32
+#  error FIXME: this driver only works on 32-bit platforms
+#endif
+
 #ifndef HZ
 #error HZ not defined
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)