From: Andi K. <ak...@mu...> - 2003-02-12 19:16:16
|
ioperm exists on x86-64 too, so can be tested there. It actually found a kernel buglet. -Andi --- testcases/kernel/syscalls/ioperm/ioperm01.c~ 2003-02-12 21:01:54.000000000 +0100 +++ testcases/kernel/syscalls/ioperm/ioperm01.c 2003-02-12 21:01:54.000000000 +0100 @@ -65,7 +65,7 @@ char *TCID = "ioperm01"; /* Test program identifier. */ -#ifdef __i386__ /* ioperm() is i386 specific */ +#if defined(__i386__) || defined(__x86_64__) #include <errno.h> #include <unistd.h> --- testcases/kernel/syscalls/ioperm/ioperm02.c~ 2003-02-12 21:02:14.000000000 +0100 +++ testcases/kernel/syscalls/ioperm/ioperm02.c 2003-02-12 21:02:14.000000000 +0100 @@ -70,7 +70,7 @@ char *TCID = "ioperm02"; /* Test program identifier. */ -#ifdef __i386__ /* ioperm() is i386 specific */ +#if defined(__i386__) || defined(__x86_64__) #include <errno.h> #include <unistd.h> |