summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/pci_direct_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/pci_direct_iommu.c')
-rw-r--r--arch/ppc64/kernel/pci_direct_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/pci_direct_iommu.c b/arch/ppc64/kernel/pci_direct_iommu.c
index 57980a5674d7..e1a32f802c0b 100644
--- a/arch/ppc64/kernel/pci_direct_iommu.c
+++ b/arch/ppc64/kernel/pci_direct_iommu.c
@@ -30,7 +30,7 @@
#include <asm/ppc-pci.h>
static void *pci_direct_alloc_coherent(struct device *hwdev, size_t size,
- dma_addr_t *dma_handle, unsigned int __nocast flag)
+ dma_addr_t *dma_handle, gfp_t flag)
{
void *ret;
OpenPOWER on IntegriCloud