summaryrefslogtreecommitdiff
path: root/src/linux/iopl.c
blob: 835d3d4ed56a5ec8a5b5db0dabbddd21f600e7d0 (plain)
1
2
3
4
5
6
7
8
9
10
#include "syscall.h"

#ifdef SYS_iopl
#include <sys/io.h>

int iopl(int level)
{
	return syscall(SYS_iopl, level);
}
#endif