patch-2.3.14 linux/drivers/block/hd.c

Next file: linux/drivers/block/ide.c
Previous file: linux/drivers/block/genhd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/block/hd.c linux/drivers/block/hd.c
@@ -27,7 +27,6 @@
 /* Uncomment the following if you want verbose error reports. */
 /* #define VERBOSE_ERRORS */
   
-#include <asm/irq.h>
 #include <linux/errno.h>
 #include <linux/signal.h>
 #include <linux/sched.h>
@@ -52,7 +51,9 @@
 
 #ifdef __arm__
 #undef  HD_IRQ
+#endif
 #include <asm/irq.h>
+#ifdef __arm__
 #define HD_IRQ IRQ_HARDDISK
 #endif
 

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