ARM: pm: only use preallocated page table during resume
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 27 Aug 2011 21:39:09 +0000 (22:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2011 22:33:38 +0000 (23:33 +0100)
commitde8e71ca4f2e17329f6718ae88d5c8336cb249ee
treecec0f26c5f4c9efd601edc1ac716aed168f65e1f
parente8ce0eb5e2254b85415e4b58e73f24a5d13846a1
ARM: pm: only use preallocated page table during resume

Only use the preallocated page table during the resume, not while
suspending.  This avoids the overhead of having to switch unnecessarily
to the resume page table in the suspend path.

Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/sleep.S
arch/arm/kernel/suspend.c
arch/arm/mm/proc-arm920.S
arch/arm/mm/proc-arm926.S
arch/arm/mm/proc-sa1100.S
arch/arm/mm/proc-v6.S
arch/arm/mm/proc-v7.S
arch/arm/mm/proc-xsc3.S
arch/arm/mm/proc-xscale.S