summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/suspend.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-08-28 10:30:34 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-09-20 23:33:40 +0100
commit1aede681ac159884c77817d33230eed9185b6f6c (patch)
tree137427c7bc0e40151d43e79f92ec70b914171254 /arch/arm/kernel/suspend.c
parentde8e71ca4f2e17329f6718ae88d5c8336cb249ee (diff)
ARM: pm: no need to save/restore context ID register
There is no need to save and restore the context ID register on ARMv6 and ARMv7 with a temporary page table as we write the context ID register when we switch back to the real page tables for the thread. Moreover, the temporary page tables do not contain any non-global mappings, so the context ID value should not be used. To be safe, initialize the register to a reserved context ID value. 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>
Diffstat (limited to 'arch/arm/kernel/suspend.c')
0 files changed, 0 insertions, 0 deletions