From: Michael Trimarchi Date: Fri, 3 Apr 2009 17:32:33 +0000 (+0000) Subject: sh: Fix up DSP context save/restore. X-Git-Tag: v2.6.30-rc1~200^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ab10393c510342ec4ce85df11ccfa3df06bbb2;p=pandora-kernel.git sh: Fix up DSP context save/restore. There were a number of issues with the DSP context save/restore code, mostly left-over relics from when it was introduced on SH3-DSP with little follow-up testing, resulting in things like task_pt_dspregs() referencing incorrect state on the stack. This follows the MIPS convention of tracking the DSP state in the thread_struct and handling the state save/restore in switch_to() and finish_arch_switch() respectively. The regset interface is also updated, which allows us to finally be rid of task_pt_dspregs() and the special cased task_pt_regs(). Signed-off-by: Michael Trimarchi Signed-off-by: Paul Mundt --- Reading git-diff-tree failed