Whamcloud - gitweb
land portals part of b_hd_sec on HEAD.
[fs/lustre-release.git] / lnet / include / libcfs / portals_lib.h
index f6b12c2..8be849b 100644 (file)
 #define MAX(a,b) (((a)>(b)) ? (a): (b))
 #define MKSTR(ptr) ((ptr))? (ptr) : ""
 
+static inline int size_round4 (int val)
+{
+        return (val + 3) & (~0x3);
+}
+
 static inline int size_round (int val)
 {
         return (val + 7) & (~0x7);