Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39044
b: refs/heads/master
c: dc36670
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 6, 2006
1 parent 55bafbd commit 8e643da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e7c4ea83efa9d6269bcbf17611f83aeef71c096
refs/heads/master: dc366708b3b022050f139347a44c65a102e4835d
4 changes: 2 additions & 2 deletions trunk/arch/m68k/kernel/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <asm/scatterlist.h>

void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *handle, int flag)
dma_addr_t *handle, gfp_t flag)
{
struct page *page, **map;
pgprot_t pgprot;
Expand Down Expand Up @@ -51,7 +51,7 @@ void *dma_alloc_coherent(struct device *dev, size_t size,
pgprot_val(pgprot) |= _PAGE_GLOBAL040 | _PAGE_NOCACHE_S;
else
pgprot_val(pgprot) |= _PAGE_NOCACHE030;
addr = vmap(map, size, flag, pgprot);
addr = vmap(map, size, VM_MAP, pgprot);
kfree(map);

return addr;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-m68k/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static inline int dma_is_consistent(dma_addr_t dma_addr)
}

extern void *dma_alloc_coherent(struct device *, size_t,
dma_addr_t *, int);
dma_addr_t *, gfp_t);
extern void dma_free_coherent(struct device *, size_t,
void *, dma_addr_t);

Expand Down

0 comments on commit 8e643da

Please sign in to comment.