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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kenji Kaneshige <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux