diff options
author | NeilBrown <neilb@suse.com> | 2018-05-21 14:35:12 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:29:09 +0200 |
commit | 457d63ea5c1aa81fe0b9a66a77a2282856b88983 (patch) | |
tree | 1f621aa03735cbd1de12dfa0feb39b18ed4f5e3a /drivers/staging/lustre/include | |
parent | f72c3ab791ac0b2b75b5b5d4d51d8eb89ea1e515 (diff) | |
download | op-kernel-dev-457d63ea5c1aa81fe0b9a66a77a2282856b88983.zip op-kernel-dev-457d63ea5c1aa81fe0b9a66a77a2282856b88983.tar.gz |
staging: lustre: rename cfs_cpt_table to cfs_cpt_tab
The variable "cfs_cpt_table" has the same name as
the structure "struct cfs_cpt_table".
This makes it hard to use #define to make one disappear
on a uni-processor build, but keep the other.
So rename the variable to cfs_cpt_tab.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h index 813ba45..552e9f5 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h @@ -59,9 +59,9 @@ * . NUMA allocators, CPU affinity threads are built over CPU partitions, * instead of HW CPUs or HW nodes. * - * . By default, Lustre modules should refer to the global cfs_cpt_table, + * . By default, Lustre modules should refer to the global cfs_cpt_tab, * instead of accessing HW CPUs directly, so concurrency of Lustre can be - * configured by cpu_npartitions of the global cfs_cpt_table + * configured by cpu_npartitions of the global cfs_cpt_tab * * . If cpu_npartitions=1(all CPUs in one pool), lustre should work the * same way as 2.2 or earlier versions @@ -329,7 +329,7 @@ cfs_cpt_bind(struct cfs_cpt_table *cptab, int cpt) } #endif /* CONFIG_SMP */ -extern struct cfs_cpt_table *cfs_cpt_table; +extern struct cfs_cpt_table *cfs_cpt_tab; /** * destroy a CPU partition table |