Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2456 lnet: Dynamic LNet Configuration (DLC) IOCTL changes
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
libcfs_mem.c
diff --git
a/libcfs/libcfs/libcfs_mem.c
b/libcfs/libcfs/libcfs_mem.c
index
95df0d7
..
c7dc6d8
100644
(file)
--- 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) 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 201
1, 2012, Whamcloud, Inc
.
+ * Copyright (c) 201
2, Intel Corporation
.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-31,9
+31,6
@@
* Author: liang@whamcloud.com
*/
* Author: liang@whamcloud.com
*/
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
#define DEBUG_SUBSYSTEM S_LNET
#include <libcfs/libcfs.h>
#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;
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;
arr->va_count = count;
arr->va_cptab = cptab;