patch-2.4.25 linux-2.4.25/include/asm-x86_64/unistd.h

Next file: linux-2.4.25/include/linux/atmdev.h
Previous file: linux-2.4.25/include/asm-x86_64/uaccess.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-x86_64/unistd.h linux-2.4.25/include/asm-x86_64/unistd.h
@@ -590,11 +590,11 @@
 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \
 { \
 long __res; \
-__asm__ volatile ("movq %[a3],%%r10 ; movq %[a4],%%r8 ; movq %[a5],%%r9" __syscall \
+__asm__ volatile ("movq %[a3],%%r10 ; movq %[a4],%%r8 ; movq %[a5],%%r9 ; " __syscall \
 	: "=a" (__res) \
 	: "0" (__NR_##name),"D" ((long)(arg1)),"S" ((long)(arg2)), \
-	  "d" ((long)(arg3)), [a3] "g" ((long)(arg4)), [a4] "g" ((long)(arg5), \
-	  [a5] "g" ((long)(arg6),) : \
+	  "d" ((long)(arg3)), [a3] "g" ((long)(arg4)), [a4] "g" ((long)(arg5)), \
+	  [a5] "g" ((long)(arg6)) : \
 	__syscall_clobber,"r8","r10","r9" ); \
 __syscall_return(type,__res); \
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)