=================================================================== RCS file: /cvs/sys/arch/arm/sa11x0/sa11x0_gpio.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sys/arch/arm/sa11x0/sa11x0_gpio.c 2008/03/04 16:05:18 1.1 +++ sys/arch/arm/sa11x0/sa11x0_gpio.c 2008/03/04 22:16:20 1.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: sa11x0_gpio.c,v 1.1 2008/03/04 16:05:18 nbrk Exp $ */ +/* $OpenBSD: sa11x0_gpio.c,v 1.2 2008/03/04 22:16:20 nbrk Exp $ */ /* $NetBSD: sa11x0_gpio.c,v 1.2 2003/07/15 00:24:55 lukem Exp $ */ /* @@ -485,10 +485,10 @@ if (gih->gh_irq < 11) /* individual (intc irq = gpio pin), register common gpio handler */ - ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, level, sagpio_irq_handler, gih, NULL); + ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, spl, sagpio_irq_handler, gih, NULL); else /* multiplexed, register dispatcher */ - ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, level, sagpio_dispatch, NULL, NULL); + ih = sa11x0_intr_establish(NULL, gih->gh_irq, 0, spl, sagpio_dispatch, NULL, NULL); return(ih); }