]> git.hungrycats.org Git - linux/commit
[PATCH] fix ppc64 in kernel syscalls
authorAnton Blanchard <anton@samba.org>
Thu, 11 Mar 2004 23:57:24 +0000 (15:57 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 11 Mar 2004 23:57:24 +0000 (15:57 -0800)
commitcb0cd969975877d7f2ec69530d0a98f6e87379c8
tree6006c9feb9f527dd9c706deac0e17dc7bcc7df5c
parentf644f1667358af42f05c81fa32a4bb96781377fa
[PATCH] fix ppc64 in kernel syscalls

Thanks to some great debugging work by Olaf Hering and Marcus Meissner
it has been noticed that the current ppc64 syscall code is corrupting
4 bytes past errno. Why we even bothered to set errno beats me, its
unusable in the kernel.

Since we had to reinstate the inline syscall code we can go back to
using it for those few syscalls that we call. Especially now with
Randy's syscall prototype cleanup we should be calling them directly
but we can do that sometime later.
arch/ppc64/kernel/misc.S
include/asm-ppc64/unistd.h