From: Santosh Shilimkar Date: Thu, 9 Aug 2012 07:05:48 +0000 (+0530) Subject: ARM: OMAP4: sleep: Save the complete used register stack frame X-Git-Tag: omap-fixes-for-v3.6-rc1~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b6e3eb576e8ad03264d46982afed77bdc6323a3;p=pandora-kernel.git ARM: OMAP4: sleep: Save the complete used register stack frame OMAP4 sleep entry code even though itself don't use many CPU registers makes call to the v7_flush_dcache_all() which uses them. Since v7_flush_dcache_all() doesn't make use of stack, the caller must take care of the stack frame. Otherwise it will lead to corrupted stack frame. Fix it by saving used registers. Reported-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar Cc: Kevin Hilman Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed