I'm using an embedded arm processor (Xscale) and I get the following compile
error:
timerfd01.c:90: error: '__NR_timerfd_settime' undeclared (first use in
this function)
I have dug through past patches for this exact problem and have seen it come
up with other processors and I have put together a patch that *should*
address the issue. I tested it on my system and everything seems to work.
I based the macro info off of:
http://kerneltrap.org/mailarchive/git-commits-head/2008/4/22/1543584/thread
Here is the patch:
--- a/testcases/kernel/include/arm.in 2008-08-31 10:33:03.000000000 -0400
+++ b/testcases/kernel/include/arm.in 2008-10-09 07:36:56.000000000 -0400
@@ -26,3 +26,6 @@
__NR_signalfd (__NR_SYSCALL_BASE+349)
__NR_timerfd (__NR_SYSCALL_BASE+350)
__NR_eventfd (__NR_SYSCALL_BASE+351)
+__NR_timerfd_create (__NR_SYSCALL_BASE+350)
+__NR_timerfd_settime (__NR_SYSCALL_BASE+353)
+__NR_timerfd_gettime (__NR_SYSCALL_BASE+354)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list