summaryrefslogtreecommitdiff
path: root/src/misc/arch_prctl.c
blob: 2868d668ad0aef13840ee2d8393543dd81c5b9f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "syscall.h"
#ifdef SYS_arch_prctl
#include "libc.h"
int __arch_prctl(int code, unsigned long addr)
{
	return syscall(SYS_arch_prctl, code, addr);	
}
weak_alias(__arch_prctl, arch_prctl);
#endif