x86: fix segfaults on SMP machine
commitd183d93e47ad16bc9983107a419121b02e0da51e
authorWaldemar Brodkorb <wbx@openadk.org>
Wed, 17 May 2017 09:07:36 +0000 (17 11:07 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Wed, 17 May 2017 09:13:49 +0000 (17 11:13 +0200)
tree4edb5f5e2b12afd21a3c123a2b5bf361a1d5ab30
parentbaad294eaf59e0e1b311a11448a04e3d3c5f3c56
x86: fix segfaults on SMP machine

As reported by Bering-uClibc project uClibc-ng for x86
generates a segfault on SMP machines when trying to run ntpd.

A small test case is here: https://gist.github.com/ddrown

Use a similar nop instruction as for x86_64 in the code.

Signed-off-by: KP.Kirchdoerfer <kapeka@bering-uclibc.de>
libc/sysdeps/linux/i386/sigaction.c