prctl: fix system call wrapper
commit3a3ad3dfc10876b3648369f22df8fc06661ddef0
authorBaruch Siach <baruch@tkos.co.il>
Fri, 18 Oct 2013 05:51:56 +0000 (18 08:51 +0300)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 6 Nov 2013 21:22:00 +0000 (6 22:22 +0100)
tree2d63e9f020587fb3f1ae5c59ae5ca04636919096
parent931e8391565323ed2e589c83b83a7345813a5514
prctl: fix system call wrapper

The argument names used in the prctl wrapper collide with the internal
variable names in syscall wrapper macros on some architecture. This
currently breaks xtensa. grep for '\b_a[0-9]' indicates that metag and
microblaze might also be affected.

Prefix argument names with '_prctl' to avoid collision.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common/prctl.c