[PATCH] alpha jensen, sync pci-noop.c to pci.h (for <= 2.4.17rc1)

From: Ronald Lembcke (es186@fen-net.de)
Date: Mon Dec 17 2001 - 17:42:26 EST


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)
 {
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:14 EST