Two rivial patches to add yet another 64-bit architecture
Tested on mips64 Octeon, Linux 2.6.27 See attached files, copy here Vlad Signed-off by : Vlad Malov [EMAIL PROTECTED] --- testcases/kernel/syscalls/recvmsg/recvmsg01.c.orig 2008-08-31 07:33:09.000000000 -0700 +++ testcases/kernel/syscalls/recvmsg/recvmsg01.c 2008-10-24 17:05:59.000000000 -0700 @@ -45,7 +45,7 @@ /* and this test to function correctly. */ #ifndef MSG_CMSG_COMPAT -#if defined (__powerpc64__) || defined (__x86_64__) || defined (__sparc64__) +#if defined (__powerpc64__) || defined (__mips64) || defined (__x86_64__) || defined (__sparc64__) #define MSG_CMSG_COMPAT 0x80000000 #else #define MSG_CMSG_COMPAT 0 --- testcases/kernel/syscalls/sendmsg/sendmsg01.c.orig 2008-08-31 07:33:18.000000000 -0700 +++ testcases/kernel/syscalls/sendmsg/sendmsg01.c 2008-10-24 17:05:59.000000000 -0700 @@ -48,7 +48,7 @@ /* and this test to function correctly. */ #ifndef MSG_CMSG_COMPAT -#if defined (__powerpc64__) || defined (__x86_64__) || defined (__sparc64__) || defined (__ia64__) || defined (__s390x__) +#if defined (__powerpc64__) || defined (__mips64) || defined (__x86_64__) || defined (__sparc64__) || defined (__ia64__) || defined (__s390x__) #define MSG_CMSG_COMPAT 0x80000000 #else #define MSG_CMSG_COMPAT 0
ltp-fix_recvmsg01.patch.uprN
Description: ltp-fix_recvmsg01.patch.uprN
ltp-fix_sendmsg01.patch.uprN
Description: ltp-fix_sendmsg01.patch.uprN
------------------------------------------------------------------------- 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
