projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add CONFIG_DEBUG_SG sg validation
[powerpc.git]
/
include
/
asm-m68knommu
/
scatterlist.h
diff --git
a/include/asm-m68knommu/scatterlist.h
b/include/asm-m68knommu/scatterlist.h
index
2085d6f
..
1094284
100644
(file)
--- a/
include/asm-m68knommu/scatterlist.h
+++ b/
include/asm-m68knommu/scatterlist.h
@@
-2,9
+2,13
@@
#define _M68KNOMMU_SCATTERLIST_H
#include <linux/mm.h>
#define _M68KNOMMU_SCATTERLIST_H
#include <linux/mm.h>
+#include <asm/types.h>
struct scatterlist {
struct scatterlist {
- struct page *page;
+#ifdef CONFIG_DEBUG_SG
+ unsigned long sg_magic;
+#endif
+ unsigned long page_link;
unsigned int offset;
dma_addr_t dma_address;
unsigned int length;
unsigned int offset;
dma_addr_t dma_address;
unsigned int length;