summaryrefslogtreecommitdiffstats
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
authorJungseok Lee <jungseoklee85@gmail.com>2015-11-04 13:26:07 +0000
committerTejun Heo <tj@kernel.org>2015-11-16 10:50:25 -0500
commit18fc93fd64129c96432812cb44f59c963871889b (patch)
treef5a0d253ec5745049aaf01161ecbcc942850c121 /include/linux/percpu.h
parent4d4142696e18cf30af319031d47bba46853a4605 (diff)
downloadop-kernel-dev-18fc93fd64129c96432812cb44f59c963871889b.zip
op-kernel-dev-18fc93fd64129c96432812cb44f59c963871889b.tar.gz
percpu: remove PERCPU_ENOUGH_ROOM which is stale definition
As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not used any more. That is, no code refers to the definition. Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r--include/linux/percpu.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index caebf2a..4bc6daf 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -18,12 +18,6 @@
#define PERCPU_MODULE_RESERVE 0
#endif
-#ifndef PERCPU_ENOUGH_ROOM
-#define PERCPU_ENOUGH_ROOM \
- (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \
- PERCPU_MODULE_RESERVE)
-#endif
-
/* minimum unit size, also is the maximum supported allocation size */
#define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
OpenPOWER on IntegriCloud