]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: mm: default platform_maar_init using bootmem data
authorPaul Burton <paul.burton@imgtec.com>
Fri, 10 Jul 2015 15:52:38 +0000 (16:52 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:07:40 +0000 (12:07 +0200)
commitb3403cb2569cd9bf14f616fbe930f325d932a69d
treea8dc2f60e9a0ec2d385c62e120e8ba56e2c2ed97
parent519c9d7a8f6c0019bcde974d9510ff59e0c32736
MIPS: mm: default platform_maar_init using bootmem data

Introduce a default weak implementation of platform_maar_init which
makes use of the data that platforms already provide to the bootmem
allocator. This should hopefully cover the most common configurations,
reduce the duplication of information provided by platforms & leaves
platforms with the option of providing a custom implementation if
required.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Patchwork: https://patchwork.linux-mips.org/patch/10676/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c