percpu: remove PERCPU_ENOUGH_ROOM which is stale definition
authorJungseok Lee <jungseoklee85@gmail.com>
Wed, 4 Nov 2015 13:26:07 +0000 (13:26 +0000)
committerTejun Heo <tj@kernel.org>
Mon, 16 Nov 2015 15:50:25 +0000 (10:50 -0500)
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>
arch/ia64/include/asm/percpu.h
include/linux/percpu.h

index 0ec484d2dcbcad7c175b2510871b10c63644108a..b9295793a5e24b3f7aa6c4df05b8228977d9c35c 100644 (file)
@@ -6,8 +6,6 @@
  *     David Mosberger-Tang <davidm@hpl.hp.com>
  */
 
-#define PERCPU_ENOUGH_ROOM PERCPU_PAGE_SIZE
-
 #ifdef __ASSEMBLY__
 # define THIS_CPU(var) (var)  /* use this to mark accesses to per-CPU variables... */
 #else /* !__ASSEMBLY__ */
index caebf2a758dc0e573d7e5dc76b916dc7cb639ea3..4bc6dafb703eaa6ec3d0f1d6deff3cbb82a82f06 100644 (file)
 #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)