Re: [PATCH 2.6.16-mm1 1/4] PCI legacy I/O port free driver (take 6)- Changes to generic PCI code

From: Andrew Morton
Date: Fri Mar 24 2006 - 04:37:18 EST


Kenji Kaneshige <kaneshige.kenji@xxxxxxxxxxxxxx> wrote:
>
> +/*
> + * This helper routine makes bar mask from the type of resource.
> + */
> +static inline int pci_select_bars(struct pci_dev *dev, unsigned long flags)
> +{
> + int i, bars = 0;
> + for (i = 0; i < PCI_NUM_RESOURCES; i++)
> + if (pci_resource_flags(dev, i) & flags)
> + bars |= (1 << i);
> + return bars;
> +}

Can we please uninline this?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/