iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
[linux/fpc-iii.git] / arch / x86 / um / stub_segv.c
blob27361cbb7ca9bed47194fe4127e231a8d3c39c0d
1 /*
2 * Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 */
6 #include <sysdep/stub.h>
7 #include <sysdep/faultinfo.h>
8 #include <sysdep/mcontext.h>
9 #include <sys/ucontext.h>
11 void __attribute__ ((__section__ (".__syscall_stub")))
12 stub_segv_handler(int sig, siginfo_t *info, void *p)
14 ucontext_t *uc = p;
16 GET_FAULTINFO_FROM_MC(*((struct faultinfo *) STUB_DATA),
17 &uc->uc_mcontext);
18 trap_myself();