* [PATCH] alpha jensen, sync pci-noop.c to pci.h (for <= 2.4.17rc1)
@ 2001-12-17 22:42 Ronald Lembcke
0 siblings, 0 replies; only message in thread
From: Ronald Lembcke @ 2001-12-17 22:42 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: lkml
This patche fixes a few dummy-functions only used for the old
Alpha - Jensen computers.
asm/pci.h got changed but pci-noop was left unchanged, resulting
in compile errors. The bug has probably been there for some time
(at least 2.4.16, didn't check earlier)
--- linux/arch/alpha/kernel/pci-noop.c_2.4.17rc1 Sun Dec 16 22:17:59 2001
+++ linux/arch/alpha/kernel/pci-noop.c Sun Dec 16 22:17:54 2001
@@ -104,21 +104,21 @@
}
/* stubs for the routines in pci_iommu.c */
void *
-pci_alloc_consistent(struct pci_dev *pdev, long size, dma_addr_t *dma_addrp)
+pci_alloc_consistent(struct pci_dev *pdev, size_t size, dma_addr_t *dma_addrp)
{
}
void
-pci_free_consistent(struct pci_dev *pdev, long size, void *cpu_addr,
+pci_free_consistent(struct pci_dev *pdev, size_t size, void *cpu_addr,
dma_addr_t dma_addr)
{
}
dma_addr_t
-pci_map_single(struct pci_dev *pdev, void *cpu_addr, long size,
+pci_map_single(struct pci_dev *pdev, void *cpu_addr, size_t size,
int direction)
{
}
void
-pci_unmap_single(struct pci_dev *pdev, dma_addr_t dma_addr, long size,
+pci_unmap_single(struct pci_dev *pdev, dma_addr_t dma_addr, size_t size,
int direction)
{
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-17 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-17 22:42 [PATCH] alpha jensen, sync pci-noop.c to pci.h (for <= 2.4.17rc1) Ronald Lembcke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®