Always compile sys_prctl parser

Since sys_prctl is referenced by syscallent files unconditionally,
conditional compilation of sys_prctl depending on prctl availability is
pointless.

* prctl.c (unalignctl_string, sys_prctl): Compile unconditionally.
This commit is contained in:
Дмитрий Левин 2014-12-11 20:44:10 +00:00
parent fced7b0930
commit 8224758b33

View File

@ -1,6 +1,5 @@
#include "defs.h"
#ifdef HAVE_PRCTL
#include <sys/prctl.h>
#include "xlat/prctl_options.h"
@ -111,7 +110,6 @@ sys_prctl(struct tcb *tcp)
}
return 0;
}
#endif /* HAVE_PRCTL */
#if defined X86_64 || defined X32
# include <asm/prctl.h>