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)
commit374d446d25d6271ee615952a3b7f123ba4983c35
treebc6066880b496a81edfaec3979f2f22831c9df2d
parent8a792e9afbce84a0fdaf213fe42bb97382487094
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