Messages in this thread | | | Date | Fri, 24 Mar 2006 01:36:26 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH 2.6.16-mm1 1/4] PCI legacy I/O port free driver (take 6) - Changes to generic PCI code |
| |
Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |