Messages in this thread Patch in this message | | | Date | Tue, 16 Feb 2010 15:03:23 +0100 | From | Oleg Nesterov <> | Subject | [PATCH 3/3] x86: ELF_PLAT_INIT() shouldn't worry about TIF_IA32 |
| |
64bit vesrion of ELF_PLAT_INIT() clears TIF_IA32, but at this point it must be already cleared by SET_PERSONALITY == set_personality_64bit.
Signed-off-by: Oleg Nesterov <oleg@redhat.com> ---
arch/x86/include/asm/elf.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
--- exec/arch/x86/include/asm/elf.h~3_ELF_PLAT_INIT_IA32 2010-01-31 13:57:24.000000000 +0100 +++ exec/arch/x86/include/asm/elf.h 2010-02-16 14:44:31.000000000 +0100 @@ -170,10 +170,7 @@ static inline void elf_common_init(struc } #define ELF_PLAT_INIT(_r, load_addr) \ -do { \ - elf_common_init(¤t->thread, _r, 0); \ - clear_thread_flag(TIF_IA32); \ -} while (0) + elf_common_init(¤t->thread, _r, 0); #define COMPAT_ELF_PLAT_INIT(regs, load_addr) \ elf_common_init(¤t->thread, regs, __USER_DS)
| |