From: Jon Medhurst Date: Fri, 18 Mar 2011 17:32:44 +0000 (+0000) Subject: ARM: Thumb-2: Fix exception return sequence to restore stack correctly X-Git-Tag: v3.1-rc1~258^2^2~2^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=594810621d9605dd40b6ce42e2e188a7dd6ba27c;p=pandora-kernel.git ARM: Thumb-2: Fix exception return sequence to restore stack correctly The implementation of svc_exit didn't take into account any stack hole created by svc_entry; as happens with the undef handler when kprobes are configured. The fix is to read the saved value of SP rather than trying to calculate it. Signed-off-by: Jon Medhurst Acked-by: Nicolas Pitre --- Reading git-diff-tree failed