ARM: 7662/1: hw_breakpoint: reset debug logic on secondary CPUs in s2ram resume
authorDietmar Eggemann <Dietmar.Eggemann@arm.com>
Thu, 28 Feb 2013 16:48:57 +0000 (17:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Mar 2013 22:54:16 +0000 (22:54 +0000)
commit1a8e611874da714ee7ef1e92e5160b38dc54959b
treebba75c3ac81ac9fafbcb033f144d1925a42f5854
parent89c7e4b8bbb3d4fa52df5746a8ad38e610143651
ARM: 7662/1: hw_breakpoint: reset debug logic on secondary CPUs in s2ram resume

We must mask out the CPU_TASKS_FROZEN bit so that reset_ctrl_regs is
also called on a secondary CPU during s2ram resume, where only the boot
CPU will receive the PM_EXIT notification.

Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/hw_breakpoint.c