Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184608
b: refs/heads/master
c: a6d468d
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and David S. Miller committed Feb 26, 2010
1 parent 873bb8d commit 12e07ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 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: 2ef2d7477549c85b84b24b155baa798650cbf90b
refs/heads/master: a6d468d05356655cdc11bb2cfec4e64bcef6ad0a
21 changes: 1 addition & 20 deletions trunk/arch/sparc/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
@@ -1,27 +1,8 @@
#ifndef _SPARC_SCATTERLIST_H
#define _SPARC_SCATTERLIST_H

#include <asm/page.h>
#include <asm/types.h>

struct scatterlist {
#ifdef CONFIG_DEBUG_SG
unsigned long sg_magic;
#endif
unsigned long page_link;
unsigned int offset;

unsigned int length;

dma_addr_t dma_address;
__u32 dma_length;
};

#define sg_dma_address(sg) ((sg)->dma_address)
#define sg_dma_len(sg) ((sg)->dma_length)

#define ISA_DMA_THRESHOLD (~0UL)

#define ARCH_HAS_SG_CHAIN
#include <asm-generic/scatterlist.h>

#endif /* !(_SPARC_SCATTERLIST_H) */

0 comments on commit 12e07ca

Please sign in to comment.