[Blackfin] arch: relocate MAX_SWITCH_{D,I}_CPLBS from the header to the file where...
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 23 Apr 2008 00:23:51 +0000 (08:23 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 23 Apr 2008 00:23:51 +0000 (08:23 +0800)
commit0e184c6b4feba9640c85811a7929d18f4491ddb0
tree076d8ef2ca5e454a2f20637ad8d528cc85938503
parent53eabf046b2837647f186f0cba085ce7a43bd7ce
[Blackfin] arch: relocate MAX_SWITCH_{D,I}_CPLBS from the header to the file where it actually gets used.

relocate MAX_SWITCH_{D,I}_CPLBS from the header to the file
where it actually gets used.  this way when we change
CONFIG_MEM_SIZE in our kconfig, we only rebuild one or two files
rather than a whole bunch that implicitly include cplb.h.

this will also remove the ability to clear the swapcount on
the fly, but i really dont think that functionality is important.

ultimate goal is for CONFIG_MEM_SIZE to go away and calculate
this value on the fly based on what u-boot programmed for us.

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/cplb-nompu/cplbinfo.c
arch/blackfin/kernel/cplb-nompu/cplbinit.c
include/asm-blackfin/cplb.h