patch-2.4.19 linux-2.4.19/drivers/s390/block/dasd_int.h
Next file: linux-2.4.19/drivers/s390/ccwcache.c
Previous file: linux-2.4.19/drivers/s390/block/dasd.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/s390/block/dasd_int.h
- Orig date:
Mon Feb 25 11:38:03 2002
diff -urN linux-2.4.18/drivers/s390/block/dasd_int.h linux-2.4.19/drivers/s390/block/dasd_int.h
@@ -203,14 +203,14 @@
debug_sprintf_event(d_device->debug_area,d_level,\
DASD_DEVICE_FORMAT_STRING d_str "\n",\
d_device, d_data);\
-} while(0);
+} while(0)
#define DASD_DEVICE_DEBUG_EXCEPTION(d_level, d_device, d_str, d_data...)\
do {\
if ( d_device->debug_area != NULL )\
debug_sprintf_exception(d_device->debug_area,d_level,\
DASD_DEVICE_FORMAT_STRING d_str "\n",\
d_device, d_data);\
-} while(0);
+} while(0)
#define DASD_DRIVER_FORMAT_STRING "Driver: <[%p]>"
#define DASD_DRIVER_DEBUG_EVENT(d_level, d_fn, d_str, d_data...)\
@@ -219,14 +219,14 @@
debug_sprintf_event(dasd_debug_area, d_level,\
DASD_DRIVER_FORMAT_STRING #d_fn ":" d_str "\n",\
d_fn, d_data);\
-} while(0);
+} while(0)
#define DASD_DRIVER_DEBUG_EXCEPTION(d_level, d_fn, d_str, d_data...)\
do {\
if ( dasd_debug_area != NULL )\
debug_sprintf_exception(dasd_debug_area, d_level,\
DASD_DRIVER_FORMAT_STRING #d_fn ":" d_str "\n",\
d_fn, d_data);\
-} while(0);
+} while(0)
struct dasd_device_t;
struct request;
@@ -367,6 +367,8 @@
extern debug_info_t *dasd_debug_area;
extern int (*genhd_dasd_name) (char *, int, int, struct gendisk *);
+extern int (*genhd_dasd_ioctl) (struct inode *inp, struct file *filp,
+ unsigned int no, unsigned long data);
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)