ARM: tegra: use setup_mm_for_reboot rather than explicit pgd switch
authorWill Deacon <will.deacon@arm.com>
Mon, 25 Mar 2013 18:19:11 +0000 (18:19 +0000)
committerStephen Warren <swarren@nvidia.com>
Tue, 26 Mar 2013 20:30:41 +0000 (14:30 -0600)
commit6affb4826405dc1f53bae0e5c302a18f734a44ca
tree9f7e2727aef921a458197848017fcdcc73b35c99
parent7e56474456221541aab7b2fe415ff400d7c9910a
ARM: tegra: use setup_mm_for_reboot rather than explicit pgd switch

This patch changes the Tegra PM code to use the setup_mm_for_reboot
helper rather than call cpu_switch_mm directly. This keeps things like
TLB invalidation in one place.

Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/pm.c