Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1717334
| From | Romain Perier <romain.perier@collabora.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v12 8/8] PCI: Remove PCI pool macro functions |
| Date | 2017-08-22 13:50 +0200 |
| Message-ID | <uhfR0-1MG-17@gated-at.bofh.it> (permalink) |
| References | <uhfQZ-1MG-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Now that all the drivers use dma pool API, we can remove the macro
functions for PCI pool.
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Reviewed-by: Peter Senna Tschudin <peter.senna@collabora.com>
---
include/linux/pci.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 93af1070c134..e01f329cd3dc 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1300,15 +1300,6 @@ int pci_set_vga_state(struct pci_dev *pdev, bool decode,
#include <linux/pci-dma.h>
#include <linux/dmapool.h>
-#define pci_pool dma_pool
-#define pci_pool_create(name, pdev, size, align, allocation) \
- dma_pool_create(name, &pdev->dev, size, align, allocation)
-#define pci_pool_destroy(pool) dma_pool_destroy(pool)
-#define pci_pool_alloc(pool, flags, handle) dma_pool_alloc(pool, flags, handle)
-#define pci_pool_zalloc(pool, flags, handle) \
- dma_pool_zalloc(pool, flags, handle)
-#define pci_pool_free(pool, vaddr, addr) dma_pool_free(pool, vaddr, addr)
-
struct msix_entry {
u32 vector; /* kernel uses to write allocated vector */
u16 entry; /* driver uses to specify entry, OS writes */
--
2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v12 0/8] Replace PCI pool by DMA pool API Romain Perier <romain.perier@collabora.com> - 2017-08-22 13:50 +0200 [PATCH v12 3/8] IB/mthca: Replace PCI pool old API Romain Perier <romain.perier@collabora.com> - 2017-08-22 13:50 +0200 [PATCH v12 8/8] PCI: Remove PCI pool macro functions Romain Perier <romain.perier@collabora.com> - 2017-08-22 13:50 +0200 [PATCH v12 6/8] mlx5: Replace PCI pool old API Romain Perier <romain.perier@collabora.com> - 2017-08-22 13:50 +0200 [PATCH v12 2/8] dmaengine: pch_dma: Replace PCI pool old API Romain Perier <romain.perier@collabora.com> - 2017-08-22 14:00 +0200 Re: [PATCH v12 0/8] Replace PCI pool by DMA pool API Doug Ledford <dledford@redhat.com> - 2017-08-22 20:10 +0200
csiph-web