summaryrefslogtreecommitdiffstats
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2014-07-03 09:56:59 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-07-18 12:29:25 +0100
commit7ca791c59dda75715088d91788bf6989b5a1945a (patch)
tree2dbac71e4a6bb8da7002201dd78c16da811b2129 /lib/pm-notifier-error-inject.c
parent76e7d5c4fd211061e56d2013a0ec9f875824c546 (diff)
ARM: 8089/1: cpu_pj4b_suspend_size should base on cpu_v7_suspend_size
Since pj4b suspend/resume routines are implemented based on generic ARMv7 ones, instead of hard-coding cpu_pj4b_suspend_size, we should have it be cpu_v7_suspend_size plus pj4b specific bytes. Otherwise, if cpu_v7_suspend_size gets updated alone, the pj4b suspend/resume will likely be broken. While at it, fix the comments in cpu_pj4b_do_resume, as we're restoring CP15 registers rather than saving in there. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions