Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73a66023 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

sparc64: fix sparc_ipc type conversion



__kernel_timespec and timespec are currently the same type, but once
they are different, the type cast has to be changed here.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent d25a122a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second
			goto out;
		case SEMTIMEDOP:
			err = sys_semtimedop(first, ptr, (unsigned int)second,
				(const struct timespec __user *)
				(const struct __kernel_timespec __user *)
					     (unsigned long) fifth);
			goto out;
		case SEMGET: