]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8636/1: Cleanup sanity_check_meminfo
authorLaura Abbott <labbott@redhat.com>
Fri, 13 Jan 2017 21:51:08 +0000 (22:51 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 Feb 2017 11:04:57 +0000 (11:04 +0000)
commit4665ddd72c36aae0e9bf389ab1685551c5be012f
treebc6066880b496a81edfaec3979f2f22831c9df2d
parent1c4423dadea83b3065c887db00d6483fbefbd899
ARM: 8636/1: Cleanup sanity_check_meminfo

The logic for sanity_check_meminfo has become difficult to
follow. Clean up the code so it's more obvious what the code
is actually trying to do. Additionally, meminfo is now removed
so rename the function to better describe its purpose.

Tested-by: Magnus Lilja <lilja.magnus@gmail.com>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c
arch/arm/mm/mmu.c
arch/arm/mm/nommu.c