Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10148
b: refs/heads/master
c: 185a8ff
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 28, 2005
1 parent 38851ab commit e60b454
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 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: a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb
refs/heads/master: 185a8ff52875d8db31b9346ab186f75baa616dee
4 changes: 2 additions & 2 deletions trunk/arch/mips/mm/dma-coherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <asm/io.h>

void *dma_alloc_noncoherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
{
void *ret;
/* ignore region specifiers */
Expand All @@ -39,7 +39,7 @@ void *dma_alloc_noncoherent(struct device *dev, size_t size,
EXPORT_SYMBOL(dma_alloc_noncoherent);

void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
__attribute__((alias("dma_alloc_noncoherent")));

EXPORT_SYMBOL(dma_alloc_coherent);
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/mips/mm/dma-ip27.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
pdev_to_baddr(to_pci_dev(dev), (addr))

void *dma_alloc_noncoherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
{
void *ret;

Expand All @@ -44,7 +44,7 @@ void *dma_alloc_noncoherent(struct device *dev, size_t size,
EXPORT_SYMBOL(dma_alloc_noncoherent);

void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
__attribute__((alias("dma_alloc_noncoherent")));

EXPORT_SYMBOL(dma_alloc_coherent);
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/mips/mm/dma-ip32.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define RAM_OFFSET_MASK 0x3fffffff

void *dma_alloc_noncoherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
{
void *ret;
/* ignore region specifiers */
Expand All @@ -61,7 +61,7 @@ void *dma_alloc_noncoherent(struct device *dev, size_t size,
EXPORT_SYMBOL(dma_alloc_noncoherent);

void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
{
void *ret;

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/mips/mm/dma-noncoherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

void *dma_alloc_noncoherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
{
void *ret;
/* ignore region specifiers */
Expand All @@ -45,7 +45,7 @@ void *dma_alloc_noncoherent(struct device *dev, size_t size,
EXPORT_SYMBOL(dma_alloc_noncoherent);

void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t * dma_handle, int gfp)
dma_addr_t * dma_handle, gfp_t gfp)
{
void *ret;

Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-mips/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
#include <asm/cache.h>

void *dma_alloc_noncoherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, int flag);
dma_addr_t *dma_handle, gfp_t flag);

void dma_free_noncoherent(struct device *dev, size_t size,
void *vaddr, dma_addr_t dma_handle);

void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, int flag);
dma_addr_t *dma_handle, gfp_t flag);

void dma_free_coherent(struct device *dev, size_t size,
void *vaddr, dma_addr_t dma_handle);
Expand Down

0 comments on commit e60b454

Please sign in to comment.