WSL2-Linux-Kernel/arch/microblaze/pci
Bharat Kumar Gogada 9413d968f2 microblaze/PCI: Add multidomain support for procfs
We create a procfs directory for every PCI bus.  Previously, the directory
name was just the bus number, so using the same bus number in different
domains caused a kernel crash when we tried to create a duplicate
directory.

Make pci_proc_domain() return the domain number, so procfs directories for
buses in domain 0 are named with just the bus number, and directories for
buses in other domains include both the domain number and the bus number.

[bhelgaas: changelog]
Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
2016-09-13 10:41:48 -05:00
..
Makefile microblaze/pci: Move the remains of pci_32.c to pci-common.c 2011-06-08 09:08:38 +10:00
indirect_pci.c microblaze: Fix coding style issues 2013-02-12 11:24:45 +01:00
iomap.c microblaze: Fix coding style issues 2013-02-12 11:24:45 +01:00
pci-common.c microblaze/PCI: Add multidomain support for procfs 2016-09-13 10:41:48 -05:00
xilinx_pci.c microblaze: Fix coding style issues 2013-02-12 11:24:45 +01:00