Andi Kleen wrote:
quoted text >>
>> +config PCI_DOMAINS
>> + bool "PCI domain support"
>> + depends on PCI
>
> I don't think this should be a config option.
CONFIG_PCI_DOMAINS is referenced in arch-neutral code, so the symbol
_must_ be defined.
It can be hidden, perhaps, if that makes our x86 maintainer happy :)
quoted text > But there should be a pci=... option with Documentation to turn it off at runtime
OK
quoted text >> +static inline int pci_proc_domain(struct pci_bus *bus)
>> +{
>> + return pci_domain_nr(bus);
>> +}
>
> The second function is redundant?
No, it's a hook we must implement, when CONFIG_PCI_DOMAINS is enabled.
Jeff
-
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH] x86/x86-64 PCI domain support , Jeff Garzik , (Sat Sep 1, 6:06 pm)