1#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 24