ARM: pm: ensure ARMv7 CPUs save and restore the TLS register
commit111b20d01346b9635b3223c7af4e40e43bee8dc6
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Jun 2011 14:41:58 +0000 (22 15:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Jun 2011 07:47:09 +0000 (24 08:47 +0100)
tree8ea01194b8aea0faf565f786a99ca9432670a594
parent7a0ee92b4a510bc2dd026333f90031e883e0cde0
ARM: pm: ensure ARMv7 CPUs save and restore the TLS register

Ensure that the TLS register is saved and restored over a suspend
cycle, so that userspace programs don't see a corrupted TLS value.

Tested-by: Kevin Hilman <khilman@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7.S