blob: 14ec29e302c3321d9d042933cadb4fa6506a46fb [file] [log] [blame]
Elliott Hughesd35df492017-02-15 15:19:05 -08001#include "tests.h"
2#include <asm/unistd.h>
3
4#ifdef __NR_iopl
5
6# include <stdio.h>
7# include <unistd.h>
8
9int
10main(void)
11{
12 long rc = syscall(__NR_iopl, 4);
13 printf("iopl(4) = %ld %s (%m)\n", rc, errno2name());
14
15 puts("+++ exited with 0 +++");
16 return 0;
17}
18
19#else
20
21SKIP_MAIN_UNDEFINED("__NR_iopl")
22
23#endif