diff options
author | Jon Medhurst <tixy@yxit.co.uk> | 2011-03-18 17:32:44 +0000 |
---|---|---|
committer | Tixy <tixy@medhuaa1.miniserver.com> | 2011-07-13 17:32:40 +0000 |
commit | 594810621d9605dd40b6ce42e2e188a7dd6ba27c (patch) | |
tree | b44f46bf562bec026a2758ec6516fb22bfada28d /drivers/pcmcia/sa1100_shannon.c | |
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>
Diffstat (limited to 'drivers/pcmcia/sa1100_shannon.c')
0 files changed, 0 insertions, 0 deletions