projects
/
linux-block.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
[linux-block.git]
/
include
/
asm-ia64
/
scatterlist.h
diff --git
a/include/asm-ia64/scatterlist.h
b/include/asm-ia64/scatterlist.h
index 2f76ce3049647e3972ef78651fd9bc1a92f565f3..d6f57874041d0f80e351dcfeafb27aed21d755a8 100644
(file)
--- a/
include/asm-ia64/scatterlist.h
+++ b/
include/asm-ia64/scatterlist.h
@@
-9,6
+9,9
@@
#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; /* buffer length */