Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10152
b: refs/heads/master
c: f80aabb
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 28, 2005
1 parent d3527ee commit 86b976b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: 6dae2c2306684d9e76a04c22dc090380a9009f12
refs/heads/master: f80aabb03a33702d934fbc3c02fd96471816d82e
4 changes: 2 additions & 2 deletions trunk/arch/x86_64/kernel/pci-gart.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static void flush_gart(struct device *dev)

/* Allocate DMA memory on node near device */
noinline
static void *dma_alloc_pages(struct device *dev, unsigned gfp, unsigned order)
static void *dma_alloc_pages(struct device *dev, gfp_t gfp, unsigned order)
{
struct page *page;
int node;
Expand All @@ -204,7 +204,7 @@ static void *dma_alloc_pages(struct device *dev, unsigned gfp, unsigned order)
*/
void *
dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
unsigned gfp)
gfp_t gfp)
{
void *memory;
unsigned long dma_mask = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/pci-nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ EXPORT_SYMBOL(iommu_sac_force);
*/

void *dma_alloc_coherent(struct device *hwdev, size_t size,
dma_addr_t *dma_handle, unsigned gfp)
dma_addr_t *dma_handle, gfp_t gfp)
{
void *ret;
u64 mask;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-x86_64/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extern dma_addr_t bad_dma_address;
(swiotlb ? swiotlb_dma_mapping_error(x) : ((x) == bad_dma_address))

void *dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
unsigned gfp);
gfp_t gfp);
void dma_free_coherent(struct device *dev, size_t size, void *vaddr,
dma_addr_t dma_handle);

Expand Down

0 comments on commit 86b976b

Please sign in to comment.