Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217134
b: refs/heads/master
c: b9b12fd
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and Michal Simek committed Oct 21, 2010
1 parent 289b85d commit 7285692
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 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: 6d5f2f6d4114578e2504ed3f675d450cbde5a161
refs/heads/master: b9b12fd147553676c6b9483bdc9e3eae0b449aa0
2 changes: 2 additions & 0 deletions trunk/arch/microblaze/include/asm/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,7 @@ extern void __init xilinx_pci_init(void);
static inline void __init xilinx_pci_init(void) { return; }
#endif

#include <asm-generic/pci-dma-compat.h>

#endif /* __KERNEL__ */
#endif /* __ASM_MICROBLAZE_PCI_H */
15 changes: 0 additions & 15 deletions trunk/arch/microblaze/pci/pci-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,6 @@ struct dma_map_ops *get_pci_dma_ops(void)
}
EXPORT_SYMBOL(get_pci_dma_ops);

int pci_set_dma_mask(struct pci_dev *dev, u64 mask)
{
return dma_set_mask(&dev->dev, mask);
}

int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask)
{
int rc;

rc = dma_set_mask(&dev->dev, mask);
dev->dev.coherent_dma_mask = dev->dma_mask;

return rc;
}

struct pci_controller *pcibios_alloc_controller(struct device_node *dev)
{
struct pci_controller *phb;
Expand Down

0 comments on commit 7285692

Please sign in to comment.