# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.956 -> 1.957 # include/asm-arm/dma-mapping.h 1.3 -> 1.4 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/01/13 jejb@raven.il.steeleye.com 1.957 # Update arm implementation of DMA API to include GFP_ flags # -------------------------------------------- # diff -Nru a/include/asm-arm/dma-mapping.h b/include/asm-arm/dma-mapping.h --- a/include/asm-arm/dma-mapping.h Mon Jan 13 11:07:19 2003 +++ b/include/asm-arm/dma-mapping.h Mon Jan 13 11:07:19 2003 @@ -82,10 +82,8 @@ * device-viewed address. */ static inline void * -dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle) +dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, int gfp) { - int gfp = GFP_ATOMIC; - if (dev == NULL || dmadev_is_sa1111(dev) || *dev->dma_mask != 0xffffffff) gfp |= GFP_DMA;