From cd7736ffa0dd5018fda249d95835cf17ca159094 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 23 Jan 2006 22:46:26 +0000 Subject: add support for arch_prctl() (only used on x86_64 atm) --- libc/sysdeps/linux/common/arch_prctl.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libc/sysdeps/linux/common/arch_prctl.c (limited to 'libc/sysdeps/linux/common/arch_prctl.c') diff --git a/libc/sysdeps/linux/common/arch_prctl.c b/libc/sysdeps/linux/common/arch_prctl.c new file mode 100644 index 000000000..6569a6832 --- /dev/null +++ b/libc/sysdeps/linux/common/arch_prctl.c @@ -0,0 +1,14 @@ +/* vi: set sw=4 ts=4: */ +/* + * arch_prctl() for uClibc + * + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include "syscalls.h" + +#ifdef __NR_arch_prctl +_syscall2(int, arch_prctl, int, cod, unsigned long, addr); +#endif -- cgit v1.2.3