diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-26 22:04:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-26 22:04:34 -0800 |
commit | b50fd73b9d8ee1f999e8d625074872eb8fb88439 (patch) | |
tree | b049c506ed1c1ce89f62aff7187d75cfdcd81903 /include | |
parent | 49eaaa1a6c950e7a92c4386c199b8ec950f840b9 (diff) | |
parent | bcea1db16ba1c45ccebb3bfb8441642d1342c4d5 (diff) | |
download | linux-b50fd73b9d8ee1f999e8d625074872eb8fb88439.tar.bz2 |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC64]: Implement pci_resource_to_user()
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/pci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sparc64/pci.h b/include/asm-sparc64/pci.h index 1393e57d50fb..f59f2571295b 100644 --- a/include/asm-sparc64/pci.h +++ b/include/asm-sparc64/pci.h @@ -200,6 +200,10 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) struct device_node; extern struct device_node *pci_device_to_OF_node(struct pci_dev *pdev); +#define HAVE_ARCH_PCI_RESOURCE_TO_USER +extern void pci_resource_to_user(const struct pci_dev *dev, int bar, + const struct resource *rsrc, + resource_size_t *start, resource_size_t *end); #endif /* __KERNEL__ */ #endif /* __SPARC64_PCI_H */ |