]> 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)
commit03968001243536cba7b2190e98184a951c4b5348
treea8dc2f60e9a0ec2d385c62e120e8ba56e2c2ed97
parent287654276357ed517ab411ba9a65b7954609e252
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