diff options
author | Chenhui Zhao <chenhui.zhao@freescale.com> | 2015-03-25 03:37:21 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-03-25 08:22:22 (GMT) |
commit | 9841cd09d8b0226792dd20bb82926413fa53e37f (patch) | |
tree | fb747993d92938ef7bd874f8f4151db15a6c845d /kernel/trace | |
parent | ce7468ae28590b496f78cb2678a289097f0c1804 (diff) | |
download | linux-fsl-qoriq-9841cd09d8b0226792dd20bb82926413fa53e37f.tar.xz |
powerpc: pm: save/restore CR register when doing deep sleep
Save and restore CR (Condition Register) register when doing deep sleep.
Otherwise, conditional statement will get wrong result after resuming from
deep sleep.
Free memory which is allocated in suspend code.
Change-Id: Ibe50138e85c164d0218a01f0f481bf484a02a45a
Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/33411
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhuoyu Zhang <Zhuoyu.Zhang@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions