X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Flibcfs%2Flibcfs_mem.c;h=c7dc6d803fdedf617435659e1877ded9520adc02;hb=da677c1c4f37886ff7b8d31396645b12365c0e88;hp=95df0d757a609a5801083c4614066a3bb6e39c55;hpb=c8da7bfbe0505175869973b25281b152940774b0;p=fs%2Flustre-release.git diff --git a/libcfs/libcfs/libcfs_mem.c b/libcfs/libcfs/libcfs_mem.c index 95df0d7..c7dc6d8 100644 --- a/libcfs/libcfs/libcfs_mem.c +++ b/libcfs/libcfs/libcfs_mem.c @@ -22,7 +22,7 @@ */ /* * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2011, 2012, Whamcloud, Inc. + * Copyright (c) 2012, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -31,9 +31,6 @@ * Author: liang@whamcloud.com */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LNET #include @@ -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;