Whamcloud - gitweb
LU-3963 libcfs: convert md[d/t]/mg[c/s] to linux atomic primitives
[fs/lustre-release.git] / libcfs / libcfs / libcfs_mem.c
index f1b234f..c7dc6d8 100644 (file)
@@ -31,9 +31,6 @@
  * Author: liang@whamcloud.com
  */
 
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
 #define DEBUG_SUBSYSTEM S_LNET
 
 #include <libcfs/libcfs.h>
@@ -90,7 +87,7 @@ cfs_percpt_alloc(struct cfs_cpt_table *cptab, unsigned int size)
        if (arr == NULL)
                return NULL;
 
-       arr->va_size    = size = CFS_L1_CACHE_ALIGN(size);
+       arr->va_size    = size = L1_CACHE_ALIGN(size);
        arr->va_count   = count;
        arr->va_cptab   = cptab;