patch-2.4.20 linux-2.4.20/drivers/block/paride/pf.c
Next file: linux-2.4.20/drivers/block/paride/pseudo.h
Previous file: linux-2.4.20/drivers/block/paride/pd.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Thu Nov 28 15:53:12 2002
- Orig file:
linux-2.4.19/drivers/block/paride/pf.c
- Orig date:
Fri Dec 21 09:41:53 2001
diff -urN linux-2.4.19/drivers/block/paride/pf.c linux-2.4.20/drivers/block/paride/pf.c
@@ -930,7 +930,7 @@
static void pf_next_buf( int unit )
-{ long saved_flags;
+{ unsigned long saved_flags;
spin_lock_irqsave(&io_request_lock,saved_flags);
end_request(1);
@@ -963,7 +963,7 @@
static void do_pf_read_start( void )
{ int unit = pf_unit;
- long saved_flags;
+ unsigned long saved_flags;
pf_busy = 1;
@@ -988,7 +988,7 @@
static void do_pf_read_drq( void )
{ int unit = pf_unit;
- long saved_flags;
+ unsigned long saved_flags;
while (1) {
if (pf_wait(unit,STAT_BUSY,STAT_DRQ|STAT_ERR,
@@ -1030,7 +1030,7 @@
static void do_pf_write_start( void )
{ int unit = pf_unit;
- long saved_flags;
+ unsigned long saved_flags;
pf_busy = 1;
@@ -1079,7 +1079,7 @@
static void do_pf_write_done( void )
{ int unit = pf_unit;
- long saved_flags;
+ unsigned long saved_flags;
if (pf_wait(unit,STAT_BUSY,0,"write block","done") & STAT_ERR) {
pi_disconnect(PI);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)