Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91007
b: refs/heads/master
c: 3cb6a91
h: refs/heads/master
i:
  91005: b225cdc
  91003: c4fa5b5
  90999: 8ebebe7
  90991: 53c90bf
  90975: d5b7a63
  90943: 873d820
  90879: a088329
v: v3
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 19, 2008
1 parent 86f0401 commit dbd86ed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 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: 2be621498d461b63ca6124f86e3b9582e1a8e722
refs/heads/master: 3cb6a91711a682adb3aa95da2ed8d47512cc3c41
6 changes: 6 additions & 0 deletions trunk/include/asm-x86/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,10 @@ static inline void dma_unmap_page(struct device *dev, dma_addr_t addr,
dma_unmap_single(dev, addr, size, direction);
}

static inline void
dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction dir)
{
flush_write_buffers();
}
#endif
7 changes: 0 additions & 7 deletions trunk/include/asm-x86/dma-mapping_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ dma_get_cache_alignment(void)

#define dma_is_consistent(d, h) (1)

static inline void
dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction)
{
flush_write_buffers();
}

#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
extern int
dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
Expand Down
7 changes: 0 additions & 7 deletions trunk/include/asm-x86/dma-mapping_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ static inline int dma_get_cache_alignment(void)

extern int dma_set_mask(struct device *dev, u64 mask);

static inline void
dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction dir)
{
flush_write_buffers();
}

extern struct device fallback_dev;
extern int panic_on_overflow;

Expand Down

0 comments on commit dbd86ed

Please sign in to comment.