 +sendmmsg 269
 +cacheflush 0x1002
 +set_tls 0x1005
---- ltp-20130109.orig/testcases/kernel/include/order
-+++ ltp-20130109/testcases/kernel/include/order
-@@ -1,5 +1,6 @@
+--- a/testcases/kernel/include/order
++++ b/testcases/kernel/include/order
+@@ -1,3 +1,4 @@
 +aarch64
  arm
  hppa
  i386
- ia64
- powerpc64
---- ltp-20130109.orig/testcases/kernel/include/regen.sh
-+++ ltp-20130109/testcases/kernel/include/regen.sh
-@@ -25,11 +25,11 @@ cat << EOF > "${output_pid}"
- #include <sys/syscall.h>
- #include "cleanup.c"
- 
- #define syscall(NR, ...) ({ \\
+--- a/testcases/kernel/include/regen.sh
++++ b/testcases/kernel/include/regen.sh
+@@ -36,7 +36,7 @@
+ 
+ #define ltp_syscall(NR, ...) ({ \\
  	int __ret; \\
 -	if (NR == 0) { \\
 +	if (NR == __LTP__NR_INVALID_SYSCALL) { \\
  		errno = ENOSYS; \\
  		__ret = -1; \\
  	} else { \\
- 		__ret = syscall(NR, ##__VA_ARGS__); \\
- 	} \\
-@@ -69,15 +69,16 @@ for arch in $(cat "${srcdir}/order") ; d
- done
- 
- echo -n "Generating stub list ... "
- echo "" >> "${output_pid}"
- echo "/* Common stubs */" >> "${output_pid}"
-+echo "#define __LTP__NR_INVALID_SYSCALL -1" >> "${output_pid}"
+@@ -90,11 +90,12 @@
+ (
+ echo
+ echo "/* Common stubs */"
++echo "#define __LTP__NR_INVALID_SYSCALL -1" 
  for nr in $(awk '{print $1}' "${srcdir}/"*.in | sort -u) ; do
- 	nr="__NR_$nr"
- 	cat <<-EOF >> "${output_pid}"
- 	# ifndef $nr
--	#  define $nr 0
-+	#  define $nr __LTP__NR_INVALID_SYSCALL
+ 	nr="__NR_${nr}"
+ 	cat <<-EOF
+ 	# ifndef ${nr}
+-	#  define ${nr} 0
++	#  define ${nr} __LTP__NR_INVALID_SYSCALL
  	# endif
  	EOF
  done
- echo "#endif" >> "${output_pid}"
- 
---- ltp-20130109.orig/testcases/kernel/mem/shmt/shmt09.c
-+++ ltp-20130109/testcases/kernel/mem/shmt/shmt09.c
-@@ -59,11 +59,11 @@ int TST_TOTAL = 4;		/* Total number of t
- 
- #ifdef __ia64__
+--- a/testcases/kernel/mem/shmt/shmt09.c
++++ b/testcases/kernel/mem/shmt/shmt09.c
+@@ -61,7 +61,7 @@
  #define INCREMENT 		8388608	/* 8Mb */
  #elif defined (__mips__)  ||  defined (__hppa__) || defined (__sparc__)
  #define INCREMENT		262144	/* 256Kb */

 }
 
 #define SIZE(x) sizeof(x)/sizeof(x[0])
 #define OSNAMESZ 100
 
--- ltp-20130109.orig/testcases/kernel/syscalls/sysctl/sysctl05.c
+++ ltp-20130109/testcases/kernel/syscalls/sysctl/sysctl05.c
@@ -59,13 +59,17 @@ char *TCID = "sysctl05";
 int TST_TOTAL = 2;
 
 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
 	   void *newval, size_t newlen)
 {

 #else
 #define ADDRESS_OFFSET 0
 #endif
--- a/testcases/kernel/syscalls/sysctl/sysctl01.c
+++ b/testcases/kernel/syscalls/sysctl/sysctl01.c
@@ -62,9 +62,13 @@
 static int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
 		  void *newval, size_t newlen)
 {
