Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149655
b: refs/heads/master
c: 2138422
h: refs/heads/master
i:
  149653: 210c1ca
  149651: 3db5c8d
  149647: e0f416e
v: v3
  • Loading branch information
Becky Bruce authored and Benjamin Herrenschmidt committed May 21, 2009
1 parent 8804843 commit d71af9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 45db9240890d9343c934db1fe82d6e68ac2d28da
refs/heads/master: 2138422bbab91c3e924c9836e394f4925b456b79
6 changes: 1 addition & 5 deletions trunk/arch/powerpc/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct scatterlist {
unsigned int offset;
unsigned int length;

/* For TCE support */
/* For TCE or SWIOTLB support */
dma_addr_t dma_address;
u32 dma_length;
};
Expand All @@ -34,11 +34,7 @@ struct scatterlist {
* is 0.
*/
#define sg_dma_address(sg) ((sg)->dma_address)
#ifdef __powerpc64__
#define sg_dma_len(sg) ((sg)->dma_length)
#else
#define sg_dma_len(sg) ((sg)->length)
#endif

#ifdef __powerpc64__
#define ISA_DMA_THRESHOLD (~0UL)
Expand Down

0 comments on commit d71af9c

Please sign in to comment.