percpu: clean up percpu constants
authorTejun Heo <tj@kernel.org>
Fri, 6 Mar 2009 05:33:58 +0000 (14:33 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 6 Mar 2009 05:33:58 +0000 (14:33 +0900)
commit6a242909b01120f6f3d571c0b75e20ec61f0d8d3
tree30688c18508f7ad0fe7b725e502c1e85fe33e7e5
parentf254f3909efaf59ca2d0f408de2d044dace60706
percpu: clean up percpu constants

Impact: cleaup

Make the following cleanups.

* There isn't much arch-specific about PERCPU_MODULE_RESERVE.  Always
  define it whether arch overrides PERCPU_ENOUGH_ROOM or not.

* blackfin overrides PERCPU_ENOUGH_ROOM to align static area size.  Do
  it by default.

* percpu allocation sizes doesn't have much to do with the page size.
  Don't use PAGE_SHIFT in their definition.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/percpu.h
include/linux/percpu.h