summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/misc.S
diff options
context:
space:
mode:
authorPaul Mackerras2005-06-08 13:59:15 +0200
committerLinus Torvalds2005-06-09 01:24:15 +0200
commitce10d979053379553757c3b178a138facaddff82 (patch)
treece88ba988eebab6cafb1ed34feedbcb13aa926e3 /arch/ppc64/kernel/misc.S
parentMerge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/tg3-2.6 (diff)
downloadkernel-qcow2-linux-ce10d979053379553757c3b178a138facaddff82.tar.gz
kernel-qcow2-linux-ce10d979053379553757c3b178a138facaddff82.tar.xz
kernel-qcow2-linux-ce10d979053379553757c3b178a138facaddff82.zip
[PATCH] ppc64: Fix PER_LINUX32 behaviour
This patch fixes some bugs in the ppc64 PER_LINUX32 implementation, noted by Juergen Kreileder: * uname(2) doesn't respect PER_LINUX32, it returns 'ppc64' instead of 'ppc' * Child processes of a PER_LINUX32 process don't inherit PER_LINUX32 Along the way I took the opportunity to move things around so that sys_ppc32.c only has 32-bit syscall emulation functions and to remove the obsolete "fakeppc" command line option. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64/kernel/misc.S')
-rw-r--r--arch/ppc64/kernel/misc.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S
index b944717c1dbd..e3c73b3425dc 100644
--- a/arch/ppc64/kernel/misc.S
+++ b/arch/ppc64/kernel/misc.S
@@ -792,7 +792,7 @@ _GLOBAL(sys_call_table32)
.llong .compat_sys_newstat
.llong .compat_sys_newlstat
.llong .compat_sys_newfstat
- .llong .sys_uname
+ .llong .sys32_uname
.llong .sys_ni_syscall /* 110 old iopl syscall */
.llong .sys_vhangup
.llong .sys_ni_syscall /* old idle syscall */