diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-11-30 20:39:18 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-11-30 22:52:28 +0000 |
commit | b7dc96d75309346c1213875be68fdbbec92da5e7 (patch) | |
tree | b6f85da5e99cb3f20fef42504ce7b82b4a69c6fc /include/asm-arm/arch-lh7a40x/hardware.h | |
parent | 0215ffb08ce99e2bb59eca114a99499a4d06e704 (diff) | |
download | blackbird-op-linux-b7dc96d75309346c1213875be68fdbbec92da5e7.tar.gz blackbird-op-linux-b7dc96d75309346c1213875be68fdbbec92da5e7.zip |
[ARM] Clean up discontigmem support
Most architectures have fairly simple discontiguous memory - a
simple set of successive regions each containing some memory.
These can be described simply as a log2 of their maximum size,
along with the base address of the first region and the number
of regions.
The base address is already described by PHYS_PFN_OFFSET, and
the number of regions via the MAX_NUMNODES and the number of
online nodes.
If we then supply the log2 of their maximum size, all the other
discontigmem macros can move into generic code.
There is one exception: lh7a40x seems to have a more complicated
setup; this is left alone.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-lh7a40x/hardware.h')
0 files changed, 0 insertions, 0 deletions