This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / pnp / pnpbios / rsparser.c
index 3c7f977..7aafbf8 100644 (file)
@@ -7,7 +7,6 @@
 #include <linux/ctype.h>
 #include <linux/pnp.h>
 #include <linux/pnpbios.h>
-#include <linux/pci.h>
 
 #include "pnpbios.h"
 
@@ -59,7 +58,6 @@ pnpbios_parse_allocated_irqresource(struct pnp_resource_table * res, int irq)
                }
                res->irq_resource[i].start =
                res->irq_resource[i].end = (unsigned long) irq;
-               pcibios_penalize_isa_irq(irq);
        }
 }
 
@@ -287,13 +285,10 @@ static void
 pnpbios_parse_irq_option(unsigned char *p, int size, struct pnp_option *option)
 {
        struct pnp_irq * irq;
-       unsigned long bits;
-
        irq = pnpbios_kmalloc(sizeof(struct pnp_irq), GFP_KERNEL);
        if (!irq)
                return;
-       bits = (p[2] << 8) | p[1];
-       bitmap_copy(irq->map, &bits, 16);
+       irq->map = (p[2] << 8) | p[1];
        if (size > 2)
                irq->flags = p[3];
        else