From: Robin Getz Date: Mon, 29 Oct 2007 10:14:15 +0000 (+0800) Subject: Blackfin arch: Fix random crash issue found by Michael. X-Git-Tag: v2.6.24-rc2~78^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa770aa790f3a5f3ff568388d02aea2ef78773ec;p=pandora-kernel.git Blackfin arch: Fix random crash issue found by Michael. This is fixes a problem where we could jump to the wrong address. By doing a "p0 = reti; jump (p0)". If a different, higher level interrupt came in, just before, rather than returning to the calling function, we would return to a random place in the kernel. This very elegant fix from Bernd grabs the return location off the stack, and places it into P0, so when we do a return, it goes to the correct place. Signed-off-by: Robin Getz Signed-off-by: Bryan Wu --- Reading git-diff-tree failed