summaryrefslogtreecommitdiff
path: root/arch/um/sys-x86/stub_segv.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-x86/stub_segv.c')
-rw-r--r--arch/um/sys-x86/stub_segv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/sys-x86/stub_segv.c b/arch/um/sys-x86/stub_segv.c
index f62771cf236e..bd2eaf69103f 100644
--- a/arch/um/sys-x86/stub_segv.c
+++ b/arch/um/sys-x86/stub_segv.c
@@ -12,7 +12,7 @@ stub_segv_handler(int sig, siginfo_t *info, void *p)
{
struct ucontext *uc = p;
- GET_FAULTINFO_FROM_SC(*((struct faultinfo *) STUB_DATA),
+ GET_FAULTINFO_FROM_MC(*((struct faultinfo *) STUB_DATA),
&uc->uc_mcontext);
trap_myself();
}