summaryrefslogtreecommitdiff
path: root/arch/x86/um/stub_segv.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/stub_segv.c')
-rw-r--r--arch/x86/um/stub_segv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/stub_segv.c b/arch/x86/um/stub_segv.c
index fdcd58af707a..27361cbb7ca9 100644
--- a/arch/x86/um/stub_segv.c
+++ b/arch/x86/um/stub_segv.c
@@ -8,7 +8,7 @@
#include <sysdep/mcontext.h>
#include <sys/ucontext.h>
-void __section(".__syscall_stub")
+void __attribute__ ((__section__ (".__syscall_stub")))
stub_segv_handler(int sig, siginfo_t *info, void *p)
{
ucontext_t *uc = p;