Re: [PATCH] x86/x86-64 PCI domain support

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

 



Andi Kleen wrote:
+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 :)


But there should be a pci=... option with Documentation to turn it off at runtime

OK


+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



-
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