patch-2.4.0-test8 linux/drivers/pnp/isapnp.c

Next file: linux/drivers/sbus/audio/dbri.c
Previous file: linux/drivers/pcmcia/yenta.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/linux/drivers/pnp/isapnp.c linux/drivers/pnp/isapnp.c
@@ -529,7 +529,7 @@
 		(*res)->irq = irq;
 #ifdef CONFIG_PCI
 	for (i=0; i<16; i++)
-		if (irq->map & i)
+		if (irq->map & (1<<i))
 			pcibios_penalize_isa_irq(i);
 #endif
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)