]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4d8b87870015cd7a14a2f72ae3788bd79e8180d
treecec0f26c5f4c9efd601edc1ac716aed168f65e1f
parentea4a49f9c91f91c123bf495d9da13b7a50d7a8c3
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