summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-lh7a40x/hardware.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-11-30 20:39:18 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-11-30 22:52:28 +0000
commitb7dc96d75309346c1213875be68fdbbec92da5e7 (patch)
treeb6f85da5e99cb3f20fef42504ce7b82b4a69c6fc /include/asm-arm/arch-lh7a40x/hardware.h
parent0215ffb08ce99e2bb59eca114a99499a4d06e704 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud