• Paul Mackerras's avatar
    [PATCH] ppc64: Fix PER_LINUX32 behaviour · ce10d979
    Paul Mackerras authored
    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: default avatarPaul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ce10d979
misc.S 29.2 KB