[ARM] Simplify setup_mm_for_reboot()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 1 Sep 2005 13:51:59 +0000 (14:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Sep 2005 13:51:59 +0000 (14:51 +0100)
commit103461a80c2f2dd95fe9a39a5decd984622c2a9e
tree01d0fa7bfa325cbbeec6ea484378355a18269444
parent08f4ffb3eb4ff23daf9c61bcd523940d43c2270c
[ARM] Simplify setup_mm_for_reboot()

No point checking what CPU architecture level we have each time
within the loop, so precompute the base PMD flags outside the
loop.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mm-armv.c