projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b69d398
)
[SPARC64]: Fix args to 64-bit sys_semctl() via sys_ipc().
author
David S. Miller
<davem@davemloft.net>
Fri, 25 Apr 2008 09:12:05 +0000
(
02:12
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 25 Apr 2008 09:12:05 +0000
(
02:12
-0700)
Second and third arguments were swapped for whatever reason.
Reported by Tom Callaway.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/sys_sparc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc64/kernel/sys_sparc.c
b/arch/sparc64/kernel/sys_sparc.c
index 73ed01ba40dc340951508ff819a296914efeaad7..8d4761f15fa932cdede6dc4dc4336fdaa2b1cc88 100644
(file)
--- a/
arch/sparc64/kernel/sys_sparc.c
+++ b/
arch/sparc64/kernel/sys_sparc.c
@@
-454,8
+454,8
@@
asmlinkage long sys_ipc(unsigned int call, int first, unsigned long second,
err = sys_semget(first, (int)second, (int)third);
goto out;
case SEMCTL: {
- err = sys_semctl(first,
thir
d,
- (int)
secon
d | IPC_64,
+ err = sys_semctl(first,
secon
d,
+ (int)
thir
d | IPC_64,
(union semun) ptr);
goto out;
}