projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050e490
)
Fix compilation for 2.6.23 due to missing declaration of sg_init_table()
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 11 Jan 2010 20:11:43 +0000
(12:11 -0800)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 11 Jan 2010 20:11:43 +0000
(12:11 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
include/linux/compat-2.6.24.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-2.6.24.h
b/include/linux/compat-2.6.24.h
index 091b7eabf89e0b77e9b1360bd731fcf78bcdc42a..287b14c3c046dbc05eaf2b4262df02c82fb23ac8 100644
(file)
--- a/
include/linux/compat-2.6.24.h
+++ b/
include/linux/compat-2.6.24.h
@@
-181,6
+181,7
@@
static inline void sg_mark_end(struct scatterlist *sg)
* used only on the last table part.
*
**/
+static inline void sg_init_table(struct scatterlist *sgl, unsigned int nents)
{
memset(sgl, 0, sizeof(*sgl) * nents);
}