From: Magnus Damm Date: Mon, 17 Aug 2009 09:27:29 +0000 (+0000) Subject: sh: rework SuperH Mobile sleep code exception handling X-Git-Tag: v2.6.32-rc1~640^2~44^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=309214af53f030e0664aea011a9f628c5eb9cc2d;p=pandora-kernel.git sh: rework SuperH Mobile sleep code exception handling This patch updates the exception handling in the sleep code for SuperH Mobile. With the patch applied the sleep code always rewrites the VBR and resumes from the exception vector, re-initializes hardware and jumps straight to the original interrupt vector. Tested on sh7722 and sh7724 with "Sleep Mode", "Sleep Mode + SF" and "Software Standby Mode + SF" with CONFIG_SUSPEND. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed