diff options
Diffstat (limited to 'arch/x86/include/asm/elf.h')
| -rw-r--r-- | arch/x86/include/asm/elf.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h index b4501ee223ad..1994d3f58443 100644 --- a/arch/x86/include/asm/elf.h +++ b/arch/x86/include/asm/elf.h | |||
| @@ -181,14 +181,8 @@ do { \ | |||
| 181 | void start_thread_ia32(struct pt_regs *regs, u32 new_ip, u32 new_sp); | 181 | void start_thread_ia32(struct pt_regs *regs, u32 new_ip, u32 new_sp); |
| 182 | #define compat_start_thread start_thread_ia32 | 182 | #define compat_start_thread start_thread_ia32 |
| 183 | 183 | ||
| 184 | #define COMPAT_SET_PERSONALITY(ex) \ | 184 | void set_personality_ia32(void); |
| 185 | do { \ | 185 | #define COMPAT_SET_PERSONALITY(ex) set_personality_ia32() |
| 186 | if (test_thread_flag(TIF_IA32)) \ | ||
| 187 | clear_thread_flag(TIF_ABI_PENDING); \ | ||
| 188 | else \ | ||
| 189 | set_thread_flag(TIF_ABI_PENDING); \ | ||
| 190 | current->personality |= force_personality32; \ | ||
| 191 | } while (0) | ||
| 192 | 186 | ||
| 193 | #define COMPAT_ELF_PLATFORM ("i686") | 187 | #define COMPAT_ELF_PLATFORM ("i686") |
| 194 | 188 | ||
