[PATCH] m68k dma-mapping: gfp_t annotations
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 14 Mar 2007 09:20:40 +0000 (09:20 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Mar 2007 22:27:51 +0000 (15:27 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-m68k/dma-mapping.h

index 00259ed6fc9532487dda91ec8873febfe0d33a59..a26cdeb46a575e2a0756ed8c4226fe64a4139a9c 100644 (file)
@@ -32,7 +32,7 @@ extern void dma_free_coherent(struct device *, size_t,
                              void *, dma_addr_t);
 
 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size,
-                                         dma_addr_t *handle, int flag)
+                                         dma_addr_t *handle, gfp_t flag)
 {
        return dma_alloc_coherent(dev, size, handle, flag);
 }