From: Shawn Guo Date: Thu, 3 Jul 2014 08:56:59 +0000 (+0100) Subject: ARM: 8089/1: cpu_pj4b_suspend_size should base on cpu_v7_suspend_size X-Git-Tag: omap-for-v3.17/fixes-against-rc2~160^2~2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca791c59dda75715088d91788bf6989b5a1945a;p=pandora-kernel.git 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 Acked-by: Gregory CLEMENT Tested-by: Gregory CLEMENT Signed-off-by: Russell King --- Reading git-diff-tree failed