mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
d25a122afd
commit
73a66023c9
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second
|
||||||
goto out;
|
goto out;
|
||||||
case SEMTIMEDOP:
|
case SEMTIMEDOP:
|
||||||
err = sys_semtimedop(first, ptr, (unsigned int)second,
|
err = sys_semtimedop(first, ptr, (unsigned int)second,
|
||||||
(const struct timespec __user *)
|
(const struct __kernel_timespec __user *)
|
||||||
(unsigned long) fifth);
|
(unsigned long) fifth);
|
||||||
goto out;
|
goto out;
|
||||||
case SEMGET:
|
case SEMGET:
|
||||||
|
|
Loading…
Reference in a new issue