Message ID | 1381482548-29543-1-git-send-email-riku.voipio@linaro.org |
---|---|
State | Accepted |
Headers | show |
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
ah just pushed, thanks ! mike
diff --git a/testcases/kernel/include/aarch64.in b/testcases/kernel/include/aarch64.in index a845be0..ceb67c6 100644 --- a/testcases/kernel/include/aarch64.in +++ b/testcases/kernel/include/aarch64.in @@ -253,5 +253,3 @@ clock_adjtime 266 syncfs 267 setns 268 sendmmsg 269 -cacheflush 0x1002 -set_tls 0x1005 diff --git a/testcases/kernel/include/linux_syscall_numbers.h b/testcases/kernel/include/linux_syscall_numbers.h index 38931cf..03664ce 100644 --- a/testcases/kernel/include/linux_syscall_numbers.h +++ b/testcases/kernel/include/linux_syscall_numbers.h @@ -801,12 +801,6 @@ # ifndef __NR_sendmmsg # define __NR_sendmmsg 269 # endif -# ifndef __NR_cacheflush -# define __NR_cacheflush 0x1002 -# endif -# ifndef __NR_set_tls -# define __NR_set_tls 0x1005 -# endif #endif @@ -12754,9 +12748,6 @@ # ifndef __NR_settimeofday # define __NR_settimeofday __LTP__NR_INVALID_SYSCALL # endif -# ifndef __NR_set_tls -# define __NR_set_tls __LTP__NR_INVALID_SYSCALL -# endif # ifndef __NR_setuid # define __NR_setuid __LTP__NR_INVALID_SYSCALL # endif
Aarch64 build fails with: cacheflush01.c:52:26: fatal error: asm/cachectl.h: No such file or directory #include <asm/cachectl.h> This is caused by bogus definitions of cacheflush and set_tls, which are private 32bit ARM system calls. These should not be used on native Aarch64 binaries. If they need to be tested, it is better done using ltp compiled for 32bit ARM. Signed-off-by: Riku Voipio <riku.voipio@linaro.org> --- testcases/kernel/include/aarch64.in | 2 -- testcases/kernel/include/linux_syscall_numbers.h | 9 --------- 2 files changed, 11 deletions(-)