percpu: disallow archs from overriding SHIFT_PERCPU_PTR()
authorTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 23:12:33 +0000 (19:12 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 23:12:33 +0000 (19:12 -0400)
commit6adc5cac538b5d9162d8bcdb6145319592afc0d6
treea527bfaa21feab1417b31f135c406c92d776b56a
parentebe06187bf2aec10d537ce4595e416035367d703
percpu: disallow archs from overriding SHIFT_PERCPU_PTR()

It has been about half a decade since all archs started using the
dynamic percpu allocator and thus the same SHIFT_PERCPU_PTR()
implementation.  There's no benefit in overriding SHIFT_PERCPU_PTR()
anymore.

Remove #ifndef around it to clarify that this is identical regardless
of the arch.

This patch doesn't cause any functional difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Christoph Lameter <cl@linux.com>
include/asm-generic/percpu.h