Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jungseok Lee and committed by
Tejun Heo
18fc93fd 4d414269

-8
-2
arch/ia64/include/asm/percpu.h
··· 6 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 7 */ 8 8 9 - #define PERCPU_ENOUGH_ROOM PERCPU_PAGE_SIZE 10 - 11 9 #ifdef __ASSEMBLY__ 12 10 # define THIS_CPU(var) (var) /* use this to mark accesses to per-CPU variables... */ 13 11 #else /* !__ASSEMBLY__ */
-6
include/linux/percpu.h
··· 18 18 #define PERCPU_MODULE_RESERVE 0 19 19 #endif 20 20 21 - #ifndef PERCPU_ENOUGH_ROOM 22 - #define PERCPU_ENOUGH_ROOM \ 23 - (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \ 24 - PERCPU_MODULE_RESERVE) 25 - #endif 26 - 27 21 /* minimum unit size, also is the maximum supported allocation size */ 28 22 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) 29 23