mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 10:46:40 +07:00
b7dc96d753
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> |
||
---|---|---|
.. | ||
autcpu12.h | ||
debug-macro.S | ||
dma.h | ||
entry-macro.S | ||
hardware.h | ||
io.h | ||
irqs.h | ||
memory.h | ||
syspld.h | ||
system.h | ||
time.h | ||
timex.h | ||
uncompress.h | ||
vmalloc.h |