Whamcloud - gitweb
b=21951 2.6.32-fc13 patchless client support for HEAD
[fs/lustre-release.git] / libcfs / include / libcfs / linux / portals_compat25.h
index da9eecb..7a87224 100644 (file)
@@ -179,4 +179,8 @@ int proc_call_handler(void *data, int write,
                       int (*handler)(void *data, int write,
                                      loff_t pos, void *buffer, int len));
 
+#ifndef HAVE_SCATTERLIST_INITTABLE
+#define sg_init_table(sgl, n) memset(sgl, 0, sizeof(*sgl) * n)
+#endif
+
 #endif /* _PORTALS_COMPAT_H */