The kernel has previously required platforms making use of MAARs (Memory
Accessibility Attribute Registers) to configure the MAARs in a
platform_maar_init function. This series provides a default/weak
implementation of that function which reuses the data platforms already
provide to the bootmem allocator, and switches Malta to use it. The
result is a reduction in the duplication of data provided by the
platform about the memory map, and a corresponding reduction in the
amount of code needed to support a platform.

Paul Burton (2):
  MIPS: mm: default platform_maar_init using bootmem data
  MIPS: malta: use generic platform_maar_init

 arch/mips/mm/init.c                | 36 ++++++++++++++++++++++++++++++++++--
 arch/mips/mti-malta/malta-memory.c | 25 -------------------------
 2 files changed, 34 insertions(+), 27 deletions(-)

-- 
2.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to