BTE error handler fix
PATCH 1/1 BTE error handler fix
The bte_crb_error_handler() expects a cnode as the first parameter. This patch gives it the correct data.
This applies on top of Pat Gefre's patches.
Index: linux/arch/ia64/sn/kernel/huberror.c
=================================--- linux.orig/arch/ia64/sn/kernel/huberror.c 2004-10-15 13:24:59.000000000 -0500
+++ linux/arch/ia64/sn/kernel/huberror.c 2004-10-19 14:40:47.000000000 -0500
@@ -20,7 +20,7 @@
#include <asm/sn/bte.h>
void hubiio_crb_error_handler(struct hubdev_info *hubdev_info);
-extern void bte_crb_error_handler(struct hubdev_info *, int, int, ioerror_t *, +extern void bte_crb_error_handler(cnodeid_t, int, int, ioerror_t *,
int);
static irqreturn_t hub_eint_handler(int irq, void *arg, struct pt_regs *ep) {
@@ -156,7 +156,7 @@
hubiio_crb_free(hubdev_info, i);
- bte_crb_error_handler(hubdev_info, bte_num,
+ bte_crb_error_handler(nasid_to_cnodeid(nasid), bte_num,
i, &ioerror, icrbd.d_bteop);
num_errors++;
continue;
Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc [email protected]