commit | 594810621d9605dd40b6ce42e2e188a7dd6ba27c | [log] [tgz] |
---|---|---|
author | Jon Medhurst <tixy@yxit.co.uk> | Fri Mar 18 17:32:44 2011 +0000 |
committer | Tixy <tixy@medhuaa1.miniserver.com> | Wed Jul 13 17:32:40 2011 +0000 |
tree | b44f46bf562bec026a2758ec6516fb22bfada28d | |
parent | 620917de59eeb934b9f8cf35cc2d95c1ac8ed0fc [diff] |
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 <tixy@yxit.co.uk> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>