patch-2.4.23 linux-2.4.23/arch/ia64/sn/io/sn2/shuberror.c
Next file: linux-2.4.23/arch/ia64/sn/io/sn2/shubio.c
Previous file: linux-2.4.23/arch/ia64/sn/io/sn2/shub_intr.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/ia64/sn/io/sn2/shuberror.c
- Orig date:
2003-08-25 04:44:39.000000000 -0700
diff -urN linux-2.4.22/arch/ia64/sn/io/sn2/shuberror.c linux-2.4.23/arch/ia64/sn/io/sn2/shuberror.c
@@ -14,6 +14,7 @@
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/smp.h>
+#include <asm/delay.h>
#include <asm/sn/sgi.h>
#include <asm/sn/io.h>
#include <asm/sn/iograph.h>
@@ -52,7 +53,6 @@
hub_error_clear(nasid_t nasid)
{
int i;
- hubreg_t idsr;
/*
* Make sure spurious write response errors are cleared
@@ -299,7 +299,7 @@
* Wait till hub indicates it's done.
*/
while (REMOTE_HUB_L(hinfo->h_nasid, IIO_ICDR) & IIO_ICDR_PND)
- us_delay(1);
+ udelay(1);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)