patch-2.2.18 linux/include/asm-s390/dasd.h

Next file: linux/include/asm-s390/debug.h
Previous file: linux/include/asm-s390/checksum.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-s390/dasd.h linux/include/asm-s390/dasd.h
@@ -3,11 +3,14 @@
 #define DASD_H
 
 /* First of all the external stuff */
+#include <linux/version.h>
 #include <linux/ioctl.h>
 #include <linux/major.h>
 #include <linux/wait.h>
 #include <asm/ccwcache.h>
-/* #include <linux/blkdev.h> */
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,3,98))
+#include <linux/blkdev.h> 
+#endif
 #include <linux/genhd.h>
 #include <linux/hdreg.h>
 #include <linux/version.h>

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