summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-04-25 15:59:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:25:52 +0200
commit7cf7cfdf3ce4f36d635a6514391c7768d864faff (patch)
tree107b16a5c509fc026c25a878f63f1c5c83c46e45 /tools/perf/scripts
parentb1611bb6a939edc4a115daa4e70ccc81601c4083 (diff)
alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO
commit c20e128030caf0537d5e906753eac1c28fefdb75 upstream. 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: 10a0ef39fbd1 ("PCI/alpha: pci sysfs resources") Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions