zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/build/uClibc/libc/sysdeps/linux/common/prctl.c b/ap/build/uClibc/libc/sysdeps/linux/common/prctl.c
new file mode 100644
index 0000000..39c0d4f
--- /dev/null
+++ b/ap/build/uClibc/libc/sysdeps/linux/common/prctl.c
@@ -0,0 +1,17 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * prctl() for uClibc
+ *
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#include <sys/syscall.h>
+#include <stdarg.h>
+/* psm: including sys/prctl.h would depend on kernel headers */
+
+#ifdef __NR_prctl
+extern int prctl (int, long, long, long, long);
+_syscall5(int, prctl, int, option, long, _a2, long, _a3, long, _a4, long, _a5)
+#endif