[PATCH 0/2] Default platform MAAR implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux