projects
/
firefly-linux-kernel-4.4.55.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
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-x86
/
scatterlist_32.h
diff --git
a/include/asm-x86/scatterlist_32.h
b/include/asm-x86/scatterlist_32.h
index 140a5b37fa779df699e6bd6ee7202e9ebdb099b6..0e7d997a34be7c4aaf16da9201c7b2700de4157e 100644
(file)
--- a/
include/asm-x86/scatterlist_32.h
+++ b/
include/asm-x86/scatterlist_32.h
@@
-4,6
+4,9
@@
#include <asm/types.h>
struct scatterlist {
+#ifdef CONFIG_DEBUG_SG
+ unsigned long sg_magic;
+#endif
unsigned long page_link;
unsigned int offset;
dma_addr_t dma_address;