summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/systbls.S
diff options
context:
space:
mode:
authorDavid S. Miller2007-04-13 22:27:08 +0200
committerDavid S. Miller2007-04-13 22:27:08 +0200
commit5c7aa6ffae514bfeb7ec0f249dde949863d895ac (patch)
tree04fbd9aeda07efca134540c35c4cf71c52c8dcfc /arch/sparc64/kernel/systbls.S
parent[SPARC]: Fix section mismatch warnings in pci.c and pcic.c (diff)
downloadkernel-qcow2-linux-5c7aa6ffae514bfeb7ec0f249dde949863d895ac.tar.gz
kernel-qcow2-linux-5c7aa6ffae514bfeb7ec0f249dde949863d895ac.tar.xz
kernel-qcow2-linux-5c7aa6ffae514bfeb7ec0f249dde949863d895ac.zip
[SPARC64]: Fix arg passing to compat_sys_ipc().
Do not sign extend args using the sys32_ipc stub, that is buggy and unnecessary. Based upon an excellent report by Mikael Pettersson. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/systbls.S')
-rw-r--r--arch/sparc64/kernel/systbls.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/systbls.S b/arch/sparc64/kernel/systbls.S
index aaeb5e06735c..48c36fe6dc62 100644
--- a/arch/sparc64/kernel/systbls.S
+++ b/arch/sparc64/kernel/systbls.S
@@ -62,7 +62,7 @@ sys_call_table32:
/*200*/ .word sys32_ssetmask, sys_sigsuspend, compat_sys_newlstat, sys_uselib, compat_sys_old_readdir
.word sys32_readahead, sys32_socketcall, sys32_syslog, sys32_lookup_dcookie, sys32_fadvise64
/*210*/ .word sys32_fadvise64_64, sys32_tgkill, sys32_waitpid, sys_swapoff, compat_sys_sysinfo
- .word sys32_ipc, sys32_sigreturn, sys_clone, sys32_ioprio_get, compat_sys_adjtimex
+ .word compat_sys_ipc, sys32_sigreturn, sys_clone, sys32_ioprio_get, compat_sys_adjtimex
/*220*/ .word sys32_sigprocmask, sys_ni_syscall, sys32_delete_module, sys_ni_syscall, sys32_getpgid
.word sys32_bdflush, sys32_sysfs, sys_nis_syscall, sys32_setfsuid16, sys32_setfsgid16
/*230*/ .word sys32_select, compat_sys_time, sys32_splice, compat_sys_stime, compat_sys_statfs64