aboutsummaryrefslogtreecommitdiff
path: root/arch/um/sys-i386/stub_segv.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-i386/stub_segv.c')
-rw-r--r--arch/um/sys-i386/stub_segv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/sys-i386/stub_segv.c b/arch/um/sys-i386/stub_segv.c
index a37f672ec96..2355dc19c46 100644
--- a/arch/um/sys-i386/stub_segv.c
+++ b/arch/um/sys-i386/stub_segv.c
@@ -27,6 +27,6 @@ stub_segv_handler(int sig)
* the stack in its original form when we do the sigreturn here, by
* hand.
*/
- __asm__("mov %0,%%esp ; movl %1, %%eax ; "
- "int $0x80" : : "a" (sc), "g" (__NR_sigreturn));
+ __asm__ __volatile__("mov %0,%%esp ; movl %1, %%eax ; "
+ "int $0x80" : : "a" (sc), "g" (__NR_sigreturn));
}