diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2012-08-09 11:05:48 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-08-09 19:06:27 +0400 |
commit | 5b6e3eb576e8ad03264d46982afed77bdc6323a3 (patch) | |
tree | aceb44fea5908c91b45a926fa13bcb639d21d2c4 /drivers/cpufreq/omap-cpufreq.c | |
parent | e0e29fd74c3c8bd2ef83bbaa73d528d58a944610 (diff) | |
download | linux-5b6e3eb576e8ad03264d46982afed77bdc6323a3.tar.xz |
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 <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'drivers/cpufreq/omap-cpufreq.c')
0 files changed, 0 insertions, 0 deletions