Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63026
b: refs/heads/master
c: 50747cb
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Jul 26, 2007
1 parent fd66446 commit 4558bdf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6dfbde209171cd15407e7540d363a434a489aaca
refs/heads/master: 50747cb8189d54369d75e1bd73f84db431d39af8
8 changes: 7 additions & 1 deletion trunk/arch/powerpc/kernel/iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <linux/pci.h>
#include <linux/mm.h>
#include <asm/io.h>
#include <asm/pci-bridge.h>

/*
* Here comes the ppc64 implementation of the IOMAP
Expand Down Expand Up @@ -136,7 +137,12 @@ void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max)

void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
{
/* Nothing to do */
if (isa_vaddr_is_ioport(addr))
return;
if (pcibios_vaddr_is_ioport(addr))
return;
iounmap(addr);
}

EXPORT_SYMBOL(pci_iomap);
EXPORT_SYMBOL(pci_iounmap);

0 comments on commit 4558bdf

Please sign in to comment.