Files
linux-apfs/arch/alpha/kernel
Bjorn Helgaas c20e128030 alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO
The alpha pci_mmap_resource() is used for both IORESOURCE_MEM and
IORESOURCE_IO resources, but iomem_is_exclusive() is only applicable for
IORESOURCE_MEM.

Call iomem_is_exclusive() only for IORESOURCE_MEM resources, and do it
earlier to match the generic version of pci_mmap_resource().

Fixes: 10a0ef39fb ("PCI/alpha: pci sysfs resources")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2016-04-25 15:59:50 -05:00
..
2013-11-16 16:33:16 -08:00
2016-03-02 17:01:55 +02:00
2014-08-26 13:45:53 -04:00
2013-11-16 16:33:13 -08:00
2013-11-16 16:33:16 -08:00