[SPARC64]: Fix semtimedop compat ipc code.

Linux Kernel Mailing List <[email protected]> Mon, 07 Mar 2005 04:53:13 +0000
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1560.1.4, 2005/03/06 20:53:13-08:00, [email protected]

	[SPARC64]: Fix semtimedop compat ipc code.
	
	The timeout pointer really does get passed in
	as the fifth argument, not the third.
	
	Thanks to Willy Tarreau for noticing.
	
	Signed-off-by: David S. Miller <[email protected]>



 sys_sparc32.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/arch/sparc64/kernel/sys_sparc32.c b/arch/sparc64/kernel/sys_sparc32.c
--- a/arch/sparc64/kernel/sys_sparc32.c	2005-03-12 10:03:09 -08:00
+++ b/arch/sparc64/kernel/sys_sparc32.c	2005-03-12 10:03:09 -08:00
@@ -829,7 +829,7 @@
 					       (struct sembuf *)A(ptr),
 					       second,
 					       (const struct timespec32 *)
-					       A(third));
+					       A(fifth));
 		case SEMGET:
 			err = sys_semget((key_t)first, (int)second,
 					 (int)third);