[PATCH] flexmmap patchkit: fix for 32 bit emu for 64 bit arches
commit8fead718405ab6e11125661b3a1e29a9d3fe233c
authorArjan van de Ven <arjanv@redhat.com>
Tue, 24 Aug 2004 04:12:01 +0000 (23 21:12 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:12:01 +0000 (23 21:12 -0700)
treeb2d3c5c01472c56e5891d40c3c0d259cd9ade6b3
parent8913d55b6c5833f1396de313de08d3917f739e0e
[PATCH] flexmmap patchkit: fix for 32 bit emu for 64 bit arches

Utz Lehmann <u.lehmann@de.tecosim.com> found a problem with the flexmmap
patches on x86-64, what he is seeing is that the 32 bit personality isn't
set at the first point of setting the allocator strategy.  The solution is
simple, in binfmt_elf the personality is set so put the pick-layout
function there.  Please consider,

Signed-off-by: Arjan van de Ven <arjanv@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/binfmt_elf.c